Revert "gs101: usb: add state of usb extcon to monitorffs" am: cc02825538
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518349 Change-Id: Ie2e406d3bb6bdd9ee3ec7721b7122412eb71be9c
This commit is contained in:
commit
73431f3d60
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