genfs_contexts: fix path for i2c peripheral device

paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on B3 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I38c8baaa221e7552d2cdabe2169e937ec0d548ea
This commit is contained in:
chungkai 2022-03-31 07:06:18 +00:00 committed by Chung-Kai (Michael) Mei
parent a3e65a0674
commit 97b7cebd49

View file

@ -1,2 +1,3 @@
# Haptics
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-4/i2c-cs40l26a u:object_r:sysfs_vibrator:s0
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-6/i2c-cs40l26a u:object_r:sysfs_vibrator:s0