Revert "gs101: usb: add state of usb extcon to monitorffs"
This reverts commit 72ef08cafa
.
Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass
Change-Id: I5643a4109f6e4a64d167ed9ee1ce0bc3492cea42
This commit is contained in:
parent
be4b7b6366
commit
387995b245
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ constexpr char kGadgetName[] = "11110000.dwc3";
|
||||||
#ifndef UDC_PATH
|
#ifndef UDC_PATH
|
||||||
#define UDC_PATH "/sys/class/udc/11110000.dwc3/"
|
#define UDC_PATH "/sys/class/udc/11110000.dwc3/"
|
||||||
#endif
|
#endif
|
||||||
constexpr char kExtconUsbState[] = "/sys/class/extcon/extcon0/cable.0/state";
|
static MonitorFfs monitorFfs(kGadgetName);
|
||||||
static MonitorFfs monitorFfs(kGadgetName, kExtconUsbState);
|
|
||||||
|
|
||||||
#define SPEED_PATH UDC_PATH "current_speed"
|
#define SPEED_PATH UDC_PATH "current_speed"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue