Re: [PATCH] leds: is31fl319x: Fix setting current limit for is31fl319{0,1,3}

From: Pavel Machek
Date: Wed Dec 07 2022 - 15:03:53 EST


On Tue 2022-11-29 22:29:01, Luca Weiss wrote:
> The current setting lives in bits 4:2 (as also defined by the mask) but
> the current limit defines in the driver use bits 2:0 which should be
> shifted over so they don't get masked out completely (except for 17.5mA
> which became 10mA).
>
> Now checking /sys/kernel/debug/regmap/1-0068/registers shows that the
> current limit is applied correctly and doesn't take the default b000 =
> 42mA.

Thank you, applied.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

Attachment: signature.asc
Description: PGP signature