mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-30 13:18:44 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| c_can.c | ||
| c_can.h | ||
| c_can_pci.c | ||
| c_can_platform.c | ||
| Kconfig | ||
| Makefile | ||