diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-09-27 16:24:58 +0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-09-27 18:34:02 +0400 |
commit | c523530ce17defe6b28ccfe622c506488f430866 (patch) | |
tree | acc79f80593868bbca51263be1a687c553eb8cd3 /include/linux/micrel_phy.h | |
parent | 842b08bbee448b2069aaebb7f18b40942ad2a1bd (diff) | |
download | linux-c523530ce17defe6b28ccfe622c506488f430866.tar.xz |
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>
Diffstat (limited to 'include/linux/micrel_phy.h')
0 files changed, 0 insertions, 0 deletions