Enable read/write access to st33spi_state for euiccpixel_app

Bug: 231522746
Test: Confirm L10 can read/write st33spi_state
Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c
This commit is contained in:
Lily Lin 2022-06-13 20:05:02 +08:00
parent 20afe0d66d
commit 97ef10a1aa

View file

@ -38,6 +38,11 @@ on post-fs-data
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# Allow secure_element group to read / write ST33 SPI state
on post-fs-data
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
# Wifi
on property:sys.boot_completed=1
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1