ODPM: Fix rail selection file permissions am: 87b68b782d

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

Change-Id: Id21d7379e0bc6a539ee9a08f5771f6578635a846
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:40:07 +00:00 committed by Automerger Merge Worker
commit 192b1f4640
2 changed files with 3 additions and 5 deletions

View file

@ -897,11 +897,6 @@ on post-fs-data
chown bluetooth system /proc/bluetooth/sleep/lpm chown bluetooth system /proc/bluetooth/sleep/lpm
chown bluetooth system /proc/bluetooth/sleep/btwrite 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 on post-fs-data
mkdir /data/vendor/powerstats 0771 system system mkdir /data/vendor/powerstats 0771 system system
chown system system /data/vendor/powerstats chown system system /data/vendor/powerstats

View file

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