aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2017-10-23 14:32:50 -0700
committerFelipe Balbi <[email protected]>2017-10-24 12:51:21 +0300
commitce2b21a4e5ce042c0a42c9db8fa9e0f849427d5e (patch)
tree952dd942b3fae129b5239851cf892b1fb4a16daf /tools/perf/scripts/python
parent9b481092c2a31a6b630aff9c28f0145bf6683787 (diff)
usb: dwc2: Fix UDC state tracking
It has been noticed that the dwc2 udc state reporting doesn't seem to work (at least on HiKey boards). Where after the initial setup, the sysfs /sys/class/udc/f72c0000.usb/state file would report "configured" no matter the state of the OTG port. This patch adds a call so that we report to the UDC layer when the gadget device is disconnected. This patch does depend on the previous patch ("usb: dwc2: Improve gadget state disconnection handling") in this patch set in order to properly work. Cc: Wei Xu <[email protected]> Cc: Guodong Xu <[email protected]> Cc: Amit Pundir <[email protected]> Cc: YongQin Liu <[email protected]> Cc: John Youn <[email protected]> Cc: Minas Harutyunyan <[email protected]> Cc: Douglas Anderson <[email protected]> Cc: Chen Yu <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Acked-by: Minas Harutyunyan <[email protected]> Tested-by: Minas Harutyunyan <[email protected]> Reported-by: Amit Pundir <[email protected]> Signed-off-by: John Stultz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions