ODPM: Fix rail selection file permissions am: 87b68b782d

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

Change-Id: I0e2bb0df046d8dc0033bd7d92fc28ce23133d399
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Stephane Lee 2022-04-21 09:39:40 +00:00 committed by Automerger Merge Worker
commit 92d05a66d0
2 changed files with 3 additions and 5 deletions

View file

@ -894,11 +894,6 @@ on post-fs-data
chown bluetooth system /proc/bluetooth/sleep/lpm
chown bluetooth system /proc/bluetooth/sleep/btwrite
# ODPM
on fs
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@18110000/i2c-8/i2c-s2mpg13mfd/s2mpg13-meter/s2mpg13-odpm/iio\:device1/enabled_rails
on post-fs-data
mkdir /data/vendor/powerstats 0771 system system
chown system system /data/vendor/powerstats

View file

@ -217,3 +217,6 @@
# Wlan
/dev/wlan 0660 wifi wifi
# ODPM
/sys/bus/iio/devices/iio:device* enabled_rails 0660 system system