We need to call platform_device_unregister(i8042_platform_device) before calling platform_driver_unregister() because i8042_remove() resets i8042_platform_device to NULL. This leaves the platform device instance behind and prevents driver reload. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=16613 Reported-by: Seryodkin Victor <vvscore@gmail.com> Cc: stable@kernel.org Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
|---|---|---|
| .. | ||
| altera_ps2.c | ||
| ambakmi.c | ||
| ams_delta_serio.c | ||
| at32psif.c | ||
| ct82c710.c | ||
| gscps2.c | ||
| hil_mlc.c | ||
| hp_sdc_mlc.c | ||
| hp_sdc.c | ||
| i8042-io.h | ||
| i8042-ip22io.h | ||
| i8042-jazzio.h | ||
| i8042-ppcio.h | ||
| i8042-snirm.h | ||
| i8042-sparcio.h | ||
| i8042-x86ia64io.h | ||
| i8042.c | ||
| i8042.h | ||
| Kconfig | ||
| libps2.c | ||
| maceps2.c | ||
| Makefile | ||
| parkbd.c | ||
| pcips2.c | ||
| q40kbd.c | ||
| rpckbd.c | ||
| sa1111ps2.c | ||
| serio_raw.c | ||
| serio.c | ||
| serport.c | ||
| xilinx_ps2.c | ||