/* Give reset command to the CAN controller using SPI interface. */
int32_t can_ctrl_reset(struct can_ctrl_dev *dev)
/* Give reset command to the CAN controller using SPI interface. */
int32_t can_ctrl_reset(struct can_ctrl_dev *dev)
{
	uint8_t spi_msg[] = {0, 0, 0};
	return spi_write_and_read(dev->can_ctrl_spi, spi_msg, 3);
}