On 12/15/20 11:51 AM, Sean Nyekjaer wrote: > On 15/12/2020 11.32, Marc Kleine-Budde wrote: >> In m_can_class_register() the clock is started, but stopped on exit. When >> calling m_can_class_unregister(), the clock is stopped a second time. >> >> This patch removes the erroneous m_can_clk_stop() in m_can_class_unregister(). > Looks good :) I have a little question... > Will ndo_stop() be called if the driver is removed? Yes, you cannot remove a driver if the interface is still up. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: OpenPGP digital signature