Skip to content
Commit 7c47381c authored by Fenglin Wu's avatar Fenglin Wu Committed by Lee Jones
Browse files

leds: flash: leds-qcom-flash: Turn off LED before setting flash current



Strobe off the LED before setting flash current to avoid it's being
enabled with an incorrect current if it has been working in torch
mode.

Signed-off-by: default avatarFenglin Wu <quic_fenglinw@quicinc.com>
Link: https://lore.kernel.org/r/20230725-leds-qcom-flash-driver-tiny-fixes-v2-2-0f5cbce5fed0@quicinc.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 05a57605
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment