Commit 64db56dc authored by Fenglin Wu's avatar Fenglin Wu Committed by Greg Kroah-Hartman
Browse files

leds: flash: leds-qcom-flash: Update torch current clamp setting



[ Upstream commit 5974e8f6 ]

There is a register to clamp the flash current per LED channel when
safety timer is disabled. It needs to be updated according to the
maximum torch LED current setting to ensure the torch current won't
be clamped unexpectedly.

Fixes: 96a2e242 ("leds: flash: Add driver to support flash LED module in QCOM PMICs")
Signed-off-by: default avatarFenglin Wu <fenglin.wu@oss.qualcomm.com>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250729-fix-torch-clamp-issue-v2-1-9b83816437a3@oss.qualcomm.com


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