From 70da44b3b0989130b03eb7e9385593c57732657f Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 28 Jan 2025 23:59:25 -0500 Subject: [PATCH] sm7325-common: Drop writing of camera schedtune devices * We don't have them. * Solves: ```01-28 22:46:06.188 368 368 W init : type=1400 audit(0.0:11): avc: denied { create } for name="schedtune.prefer_idle" scontext=u:r:vendor_init:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0 01-28 22:46:06.188 368 368 W init : type=1400 audit(0.0:12): avc: denied { create } for name="schedtune.boost" scontext=u:r:vendor_init:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0``` Change-Id: I07d1fa834592c286a60044f23802f65888ecb790 --- rootdir/etc/init/hw/init.target.rc | 3 --- 1 file changed, 3 deletions(-) diff --git a/rootdir/etc/init/hw/init.target.rc b/rootdir/etc/init/hw/init.target.rc index a3e6e8e..d6468b4 100644 --- a/rootdir/etc/init/hw/init.target.rc +++ b/rootdir/etc/init/hw/init.target.rc @@ -103,9 +103,6 @@ on early-boot on boot write /dev/cpuset/audio-app/cpus 1-2 - # set default schedTune value for camera-daemon - write /dev/stune/camera-daemon/schedtune.prefer_idle 1 - write /dev/stune/camera-daemon/schedtune.boost 0 chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_enable chmod 0660 /sys/devices/platform/soc/990000.i2c/i2c-0/0-0049/trusted_touch_enable chown system /sys/devices/platform/soc/990000.i2c/i2c-0/0-0038/trusted_touch_enable