Re: [PATCH 2/2] leds: flash: leds-qcom-flash: disable LED when changing brightness

From: Lee Jones
Date: Mon May 15 2023 - 12:19:26 EST


On Sun, 07 May 2023, Dylan Van Assche wrote:

> The Qualcomm PMI8998 PMIC requires the LED to be disabled when configuring
> the brightness. Always disable the LED when setting the brightness and
> re-enable it afterwards.
>
> Signed-off-by: Dylan Van Assche <me@xxxxxxxxxxxxxxxxx>
> ---
> drivers/leds/flash/leds-qcom-flash.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

Applied, thanks

--
Lee Jones [李琼斯]