usb: typec: mux: Take care of driver module reference counting
Subsystems (2)
PATCH 1/2 usb: typec: mux: Take care of driver module reference counting
Quoted 10 lines · Greg KH
Quoted 9 lines · Heikki Krogerus
Functions
typec_mux_get()andtypec_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.
Quoted 7 lines
Quoted 2 lines
Fixes 93dd2112c7b2 ("usb: typec: mux: Get the mux identifier from function parameter")Cc <[email protected]>Why is this flagged for stable?
93dd2112c7b2went into 4.19-rc1 and has not been backported anywhere else.confused,
Sorry, it should not have the stable tag. Shall I resend these?
Thanks,