lkml.org 
[lkml]   [2022]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] leds: is31fl319x: Fix setting current limit for is31fl319{0,1,3}
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-12-07 21:04    [W:0.033 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site