mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
3e3b81965c
Functions typec_mux_get() and typec_switch_get() already
make sure that the mux device reference count is
incremented, but the same must be done to the driver module
as well to prevent the drivers from being unloaded in the
middle of operation.
This fixes a potential "BUG: unable to handle kernel paging
request at ..." from happening.
Fixes:
|
||
---|---|---|
.. | ||
altmodes | ||
fusb302 | ||
mux | ||
ucsi | ||
bus.c | ||
bus.h | ||
class.c | ||
Kconfig | ||
Makefile | ||
mux.c | ||
tcpci_rt1711h.c | ||
tcpci.c | ||
tcpci.h | ||
tcpm.c | ||
tps6598x.c | ||
typec_wcove.c |