Merge cherrypicks of ['googleplex-android-review.googlesource.com/21154405'] into tm-qpr2-release.
Change-Id: I2c7ff4a9de8a0640f2a4b8077fe60875d3d0c2b4
This commit is contained in:
commit
87e5e79d28
2 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,9 @@ constexpr char kSmpAffinityList[] = "/smp_affinity_list";
|
|||
#ifndef UDC_PATH
|
||||
#define UDC_PATH "/sys/class/udc/11110000.dwc3/"
|
||||
#endif
|
||||
static MonitorFfs monitorFfs(kGadgetName);
|
||||
constexpr char kExtconTypecState[] = "/sys/class/extcon/extcon0/cable.0/state";
|
||||
constexpr char kUsbGadgetState[] = "/sys/devices/platform/11110000.usb/dwc3_exynos_gadget_state";
|
||||
static MonitorFfs monitorFfs(kGadgetName, kExtconTypecState, kUsbGadgetState);
|
||||
|
||||
#define SPEED_PATH UDC_PATH "current_speed"
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ on post-fs
|
|||
chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_b_sess
|
||||
chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_id
|
||||
chown root system /sys/devices/platform/11110000.usb/usb_data_enabled
|
||||
chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_gadget_state
|
||||
chmod 664 /sys/class/typec/port0/power_role
|
||||
chmod 664 /sys/class/typec/port0/data_role
|
||||
chmod 664 /sys/class/typec/port0/port_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue