Skip to content
Snippets Groups Projects
Commit 5c54fcac authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman
Browse files

usb: roles: Take care of driver module reference counting


This fixes potential "BUG: unable to handle kernel paging
request at ..." from happening.

Fixes: fde0aa6c ("usb: common: Small class for USB role switches")
Cc: <stable@vger.kernel.org>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Tested-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9a4cb20
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment