mirror of https://gitee.com/openkylin/linux.git
490d84f6d7
If the wait for completion was interrupted, then make sure to cancel
any delayed work.
This can only happen if a transmit is waiting for a reply, and you press
Ctrl-C or reboot/poweroff or something like that which interrupts the
thread waiting for the reply and then proceeds to delete the CEC message.
Since the delayed work wasn't canceled, once it would trigger it referred
to stale data and resulted in a kernel oops.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cec-adap.c | ||
cec-api.c | ||
cec-core.c | ||
cec-notifier.c | ||
cec-pin-error-inj.c | ||
cec-pin-priv.h | ||
cec-pin.c | ||
cec-priv.h |