summaryrefslogtreecommitdiff
path: root/rootdir/init.usb.rc
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-09-04 20:06:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-04 20:06:28 +0000
commit2a0481109baaa8385bd9e43a95eac24cd6f89e43 (patch)
tree74fa34bd543c1d01a85cba964c38e98f1061988b /rootdir/init.usb.rc
parent4bc10de99f3f84b89b40c46203cbc051224f931d (diff)
parent100de590e7f82e1039eebc10e60ea554deeb1c3f (diff)
am 100de590: am 5e294902: Merge "init.usb.rc: fix USB typec property names" into mnc-dr-dev
* commit '100de590e7f82e1039eebc10e60ea554deeb1c3f': init.usb.rc: fix USB typec property names
Diffstat (limited to 'rootdir/init.usb.rc')
-rw-r--r--rootdir/init.usb.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/rootdir/init.usb.rc b/rootdir/init.usb.rc
index 3ee58e1a3..1fd1e2a7a 100644
--- a/rootdir/init.usb.rc
+++ b/rootdir/init.usb.rc
@@ -121,18 +121,18 @@ on property:sys.usb.typec.mode=ufp
# USB data role changes
on property:sys.usb.typec.data_role=device
- write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data}
+ write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data_role}
setprop sys.usb.typec.state ${sys.usb.typec.data_role}
on property:sys.usb.typec.data_role=host
- write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data}
+ write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data_role}
setprop sys.usb.typec.state ${sys.usb.typec.data_role}
# USB power role changes
on property:sys.usb.typec.power_role=source
- write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power}
+ write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power_role}
setprop sys.usb.typec.state ${sys.usb.typec.power_role}
on property:sys.usb.typec.power_role=sink
- write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power}
+ write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power_role}
setprop sys.usb.typec.state ${sys.usb.typec.power_role}