summaryrefslogtreecommitdiff
path: root/usb
diff options
context:
space:
mode:
authorRay Chi <raychi@google.com>2021-05-12 23:19:48 +0800
committerTreeHugger Robot <treehugger-gerrit@google.com>2021-05-24 16:02:50 +0000
commit387995b245875ebb45bb679ece1c9f211b0e9682 (patch)
tree7c5bfb5ad9981f62ad8d3560e9a5e894ee839809 /usb
parentbe4b7b6366fb44f177ca6a85ad37e0e7e9e88f1a (diff)
Revert "gs101: usb: add state of usb extcon to monitorffs"
This reverts commit 72ef08cafa11ab10bc31105c70836cef92e1f7b4. Reason for revert: using alternate method for original behavior change Bug: 187261232 Test: build pass Change-Id: I5643a4109f6e4a64d167ed9ee1ce0bc3492cea42
Diffstat (limited to 'usb')
-rw-r--r--usb/UsbGadget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usb/UsbGadget.h b/usb/UsbGadget.h
index e3eb3b4e..2669f8da 100644
--- a/usb/UsbGadget.h
+++ b/usb/UsbGadget.h
@@ -74,8 +74,7 @@ constexpr char kGadgetName[] = "11110000.dwc3";
#ifndef UDC_PATH
#define UDC_PATH "/sys/class/udc/11110000.dwc3/"
#endif
-constexpr char kExtconUsbState[] = "/sys/class/extcon/extcon0/cable.0/state";
-static MonitorFfs monitorFfs(kGadgetName, kExtconUsbState);
+static MonitorFfs monitorFfs(kGadgetName);
#define SPEED_PATH UDC_PATH "current_speed"