mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
In the event that the cec dev node is held open while the adapter is
disconnected the serio device will be cleaned up but the cec device won't
be. As the serio device is freed but the ping_eeprom_work is not canceled,
the next ping will still attempt to send, leading to a kernel oops.
This patch both cancels the ping_eeprom_work in the serio cleanup as well
as checking to make sure the serio is still present before attempting to
write to it. Note that while the added serio = NULL line looks similar to
one that was removed in commit
|
||
|---|---|---|
| .. | ||
| extron-da-hd-4k-plus | ||
| pulse8 | ||
| rainshadow | ||
| Kconfig | ||
| Makefile | ||