sdm660: allow system to access UFS sysfs
Allow system to read/write UFS device attributes on sysfs. Change-Id: I7ea0a8f289b29ebcff2b894237efbe90b76f1a80
This commit is contained in:
parent
e970cc2df6
commit
568313007c
1 changed files with 4 additions and 0 deletions
|
@ -263,6 +263,10 @@ on boot
|
||||||
chown system system /sys/class/sensors/apds9930-proximity/enable
|
chown system system /sys/class/sensors/apds9930-proximity/enable
|
||||||
chown system system /sys/class/sensors/apds9930-proximity/poll_delay
|
chown system system /sys/class/sensors/apds9930-proximity/poll_delay
|
||||||
|
|
||||||
|
# Allow access to UFS device attributes on sysfs
|
||||||
|
chown system system /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
|
||||||
|
chmod 0660 /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
|
||||||
|
|
||||||
# Create directory used for display
|
# Create directory used for display
|
||||||
# for backward compatibility
|
# for backward compatibility
|
||||||
mkdir /persist/display 0770 system graphics
|
mkdir /persist/display 0770 system graphics
|
||||||
|
|
Loading…
Reference in a new issue