On Thu, Sep 20, 2018 at 02:26:28PM +0300, Heikki Krogerus wrote:
On Thu, Sep 20, 2018 at 01:20:03PM +0200, Greg KH wrote:
On Wed, Sep 19, 2018 at 10:58:04AM +0300, Heikki Krogerus wrote:
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: 93dd2112c7b2 ("usb: typec: mux: Get the mux identifier from function parameter") Cc: stable@vger.kernel.org
Why is this flagged for stable? 93dd2112c7b2 went into 4.19-rc1 and has not been backported anywhere else.
confused,
Sorry, it should not have the stable tag. Shall I resend these?
No need, I'll handle it, thanks.
greg k-h