ODPM: Fix rail selection file permissions am: 2ac03d73b3 am: a4e82d4f45

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17640732

Change-Id: I9632e46d1db4f7bc4fa5265a81136ce8f9048be9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Stephane Lee 2022-04-08 03:38:11 +00:00 committed by Automerger Merge Worker
commit ad202fd28c

View file

@ -862,11 +862,12 @@ on post-fs-data
# ODPM # ODPM
on fs on fs
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-6/6-001f/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails chown system system /sys/devices/platform/acpm_mfd_bus@18100000/i2c-7/i2c-s2mpg12mfd/s2mpg12-meter/s2mpg12-odpm/iio\:device0/enabled_rails
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-7/7-002f/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails chown system system /sys/devices/platform/acpm_mfd_bus@18110000/i2c-8/i2c-s2mpg13mfd/s2mpg13-meter/s2mpg13-odpm/iio\:device1/enabled_rails
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/7-001f/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails on post-fs-data
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/8-002f/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails mkdir /data/vendor/powerstats 0771 system system
chown system system /data/vendor/powerstats
on property:vendor.thermal.link_ready=1 on property:vendor.thermal.link_ready=1
# BCL # BCL