odpm: correct device index of s2mpg15 for ZumaPro

Bug: 332504591
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I78ac99e04e71787d68202a676f51e1a3d982fa7d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2024-04-08 16:48:49 +08:00
parent adbba50097
commit 9f43dc5799
3 changed files with 6 additions and 6 deletions

View file

@ -66,9 +66,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
# ODPM
on early-boot && property:ro.boot.hardware.sku=GZC4K
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=GQ57S
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1