drivers/leds/trigger/ledtrig-camera.c
0 → 100644
+57
−0
+8
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Some LED devices support flash/torch functionality through the LED subsystem. This patch enables direct LED trigger controls by the driver. Flash on/off and torch on/off can be done simply by other driver space. Two trigger APIs are added, ledtrig_flash_ctrl() and ledtrig_torch_ctrl(). Signed-off-by:Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by:
Bryan Wu <cooloney@gmail.com>