Commit 784572c0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "usb: roles: don't get/set_role() when usb_role_switch is unregistered"



This reverts commit 256c3e61 which is
commit b787a3e7 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.  It's not a "real" break, and
we can work around it, but this really does not affect Android systems,
so it's safe to drop for now.

Bug: 161946584
Change-Id: I46a8368cbf844a05ee18cfdfa33b1b8f50b529ef
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 28752f02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment