Commit 5974e8f6 authored by Fenglin Wu's avatar Fenglin Wu Committed by Lee Jones
Browse files

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



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>
parent 6e3779e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment