summaryrefslogtreecommitdiffstats
path: root/init.smdk4x12.rc
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 00:36:49 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 00:42:12 +0200
commit5d367f958bb352d122370e5da3599647f114bf06 (patch)
tree1a0b8c1de4a97338c3ad92b428854e598fb0751d /init.smdk4x12.rc
parent94684b08d7fccec0a67e874f2792e6a7b9add007 (diff)
downloaddevice_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.zip
device_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.tar.gz
device_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.tar.bz2
torch: use sysfs
Diffstat (limited to 'init.smdk4x12.rc')
-rwxr-xr-xinit.smdk4x12.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.smdk4x12.rc b/init.smdk4x12.rc
index ebee8a4..908ba65 100755
--- a/init.smdk4x12.rc
+++ b/init.smdk4x12.rc
@@ -112,6 +112,10 @@ on post-fs-data
chmod 0660 /sys/class/sec/sec_touchkey/force_disable
chown system system /sys/class/sec/sec_touchkey/force_disable
+# Camera Flash
+ chmod 0666 /sys/devices/virtual/flash/flash/flash_power
+ chown system radio /sys/devices/virtual/flash/flash/flash_power
+
# Permissions for LCD
chown system radio /sys/class/lcd/panel/lcd_power
chown system radio /sys/class/lcd/panel/lcd_type