aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2016-06-30 17:12:32 +0000
committerGreg Kroah-Hartman <[email protected]>2016-07-16 23:23:57 +0000
commita1ca2c6b2924a602bb19dce7390a6e9604dd45bf (patch)
tree9a22ebc48dd5fc59fab92015a4994e8196baaf3a /drivers/usb/class/cdc-acm.c
parentusb: musb: sunxi: make unexported symbols static (diff)
downloadkernel-a1ca2c6b2924a602bb19dce7390a6e9604dd45bf.tar.gz
kernel-a1ca2c6b2924a602bb19dce7390a6e9604dd45bf.zip
usb: musb: sunxi: Simplify dr_mode handling
phy-sun4i-usb now has proper dr_mode handling, it always registers an extcon, and sends a notify with the mode (even when in peripheral- / host-only mode) at least once. So we can simply the sunxi musb glue by always registering its extcon notifier and relying on sunxi_musb_work() to enable vbus when in host-only mode. This also enables host- and peripheral-only mode with vbus monitoring. Tested-by: Maxime Ripard <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions