Re: [net-rfc 1/2] can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux