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 | ||
Kconfig | ||
Makefile | ||
bus.c | ||
bus.h | ||
class.c | ||
mux.c | ||
tcpci.c | ||
tcpci.h | ||
tcpci_rt1711h.c | ||
tcpm.c | ||
tps6598x.c | ||
typec_wcove.c |