summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-10-01 12:12:41 +0100
committerArian <arian.kulmer@web.de>2019-10-25 22:17:13 +0200
commit3fd72b280ee3c5978a9bd33628ab2cf6e501c63e (patch)
treef1aa65bb86004868793147809979532054064c0e /rootdir
parent61c2dc216684d0beeb252cf29c914853fdb915f4 (diff)
shinano-common: rootdir: Enable backlight trigger for LCD
Disable backlight when blanked out. Ref: CRACKLING-626 Change-Id: Ifc698c1470b086b0e1f083c3c234f272988d108c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 9eee4e9..df7039d 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -24,6 +24,9 @@ import /vendor/etc/init/hw/init.camera.rc
on early-init
mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755
+ # Turn off backlight on blank
+ write /sys/class/leds/lcd-backlight/trigger "backlight"
+
on init
symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice