Fix ODPM dynamic rail config via file by allowing writes to enabled_rails am: a6926e9abb

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

Change-Id: I9dac2e1012df2dfd30b334ddbe6eaf3297f325de
This commit is contained in:
Stephane Lee 2021-04-16 15:10:18 +00:00 committed by Automerger Merge Worker
commit b34b344eab

View file

@ -709,5 +709,8 @@ on post-fs-data
# ODPM
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@17510000/i2c-7/7-002f/s2mpg11-meter/s2mpg11-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
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/8-002f/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails