diff options
author | Helge Deller <deller@gmx.de> | 2009-04-21 21:24:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 22:41:49 +0200 |
commit | aa0b8f3687f06ac0e5a2b24547fdf431e923c475 (patch) | |
tree | 94150412078aeb2e32c9927b13e0cd0a60a1aac0 /drivers/spi/pxa2xx_spi.c | |
parent | memcg: use rcu_dereference to access mm->owner (diff) | |
download | linux-aa0b8f3687f06ac0e5a2b24547fdf431e923c475.tar.xz linux-aa0b8f3687f06ac0e5a2b24547fdf431e923c475.zip |
drivers/input/serio/hp_sdc.c: fix crash when removing hp_sdc module
On parisc machines, which don't have HIL, removing the hp_sdc module
panics the kernel. Fix this by returning early in hp_sdc_exit() if no HP
SDC controller was found.
Add functionality to probe for the hp_sdc_mlc kernel module (which takes
care of the upper layer HIL functionality on parisc) after two seconds.
This is needed to get all the other HIL drivers (keyboard / mouse/ ..)
drivers automatically loaded by udev later as well.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Frans Pop <elendil@planet.nl>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Grant Grundler <grundler@parisc-linux.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi/pxa2xx_spi.c')
0 files changed, 0 insertions, 0 deletions