From 1a93a4f1fc319d6ad1e9072d29ca58b8958c3e44 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Mon, 6 Jul 2020 11:04:59 +0100 Subject: [PATCH] universal7580: sepolicy: label a7xelte devices Change-Id: I6725ae31894de59e910dbb9425fbb7e7fbba6f5f --- sepolicy/genfs_contexts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts index 52c7a6d..c889e68 100644 --- a/sepolicy/genfs_contexts +++ b/sepolicy/genfs_contexts @@ -48,6 +48,13 @@ genfscon sysfs /devices/13850000.i2c/i2c-10/10-0020/input/input3 u:ob genfscon sysfs /devices/i2c.20/i2c-4/4-0020/input/input2 u:object_r:sysfs_input:s0 genfscon sysfs /devices/virtual/fingerprint/fingerprint u:object_r:sysfs_input:s0 +# A7 power devices +genfscon sysfs /devices/i2c.42/i2c-6/6-0071/power_supply u:object_r:sysfs_usb_supply:s0 + +# A7 input devices +genfscon sysfs /devices/13850000.i2c/i2c-10/10-0048/input/input3 u:object_r:sysfs_input:s0 +genfscon sysfs /devices/i2c.21/i2c-4/4-0020/input/input2 u:object_r:sysfs_input:s0 + # J7 power devices genfscon sysfs /devices/13850000.i2c/i2c-8/8-0049/sm5703-charger/power_supply u:object_r:sysfs_usb_supply:s0 -- 2.20.1