On 10.12.2024 09:02:37, Prückl Thomas wrote: > Hi Chandrasekar, > > I'm using the m_can driver with the externals TCAN4550-Q1 can controller (SPI) on an IMX8MN controller. > After some time the driver stops working. > > After reviewing the driver (m_can.c) I noticed that there are not mutex locks preventing concurrent access of > m_can_isr and m_can_tx_work_queue. > > After I added mutex_lock in these functions the driver was working fine. Can you show us the patch? > Is the driver really missing the locking or is it done on another level? Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature