Thread (2 messages) 2 messages, 2 authors, 2012-09-27

Re: [PATCH] can: c_can: fix segfault during rmmod

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2012-09-27 14:43:28

On 09/27/2012 02:24 PM, AnilKumar Ch wrote:
This patch fixes an oops which occurs during unloading the driver.
unregister_c_can_dev() is doing c_can/d_can module interrupts
disable, which requires module clock enable. c_can/d_can interrupts
enable/disable is handled properly in c_can_start and c_can_stop,
so removing from unregister_c_can_dev().

Signed-off-by: AnilKumar Ch <redacted>
Thanks, I've added a reference to the commit that added the runtime pm
support. I'll send a pull request to David soon.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help