linux/drivers/net/can/c_can
AnilKumar Ch c523530ce1 can: c_can: fix segfault during rmmod
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().

The problem was triggered by adding runtime PM support to the c_can driver by
this commit:

4cdd34b can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-09-27 16:34:02 +02:00
..
Kconfig c_can_pci: generic module for C_CAN/D_CAN on PCI 2012-06-19 21:22:28 +02:00
Makefile c_can_pci: generic module for C_CAN/D_CAN on PCI 2012-06-19 21:22:28 +02:00
c_can.c can: c_can: fix segfault during rmmod 2012-09-27 16:34:02 +02:00
c_can.h can: c_can: Add d_can suspend resume support 2012-09-21 23:58:47 +02:00
c_can_pci.c can: c_can: Modify c_can device names 2012-09-21 23:58:47 +02:00
c_can_platform.c can: c_can: Adopt pinctrl support 2012-09-21 23:58:48 +02:00