Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9ff7a030 authored by Shyam Kumar Thella's avatar Shyam Kumar Thella Committed by Kavya Nunna
Browse files

leds: qti-flash: Disable flash LED when brightness is set to 0



Disable the flash LED channel when a brightness of 0 is set

As flash/torch devices can be enabled and disabled using switch as well
as from sysfs, reset the state of flash/torch devices when they are
disabled instead of doing it in switch disable.

Change-Id: If8ffb22d8c72a94325a1e9237778b810a152a293
Signed-off-by: default avatarShyam Kumar Thella <sthella@codeaurora.org>
parent 7e976a60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment