diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-07-12 02:45:54 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-07-12 08:32:37 +0100 |
commit | b0eed397623f897d3ccac9bda2bd2f53331b571a (patch) | |
tree | 2fd6859df0b6686d2d52aa44ec6ac5b8f8ad7871 /drivers/leds/leds-lm3530.c | |
parent | 2a498d626df7e8d97e798799ebbc30d0482d52e8 (diff) | |
download | lwn-b0eed397623f897d3ccac9bda2bd2f53331b571a.tar.gz lwn-b0eed397623f897d3ccac9bda2bd2f53331b571a.zip |
leds: leds-lp5569: Enable chip after chip configuration
Documentation say that clock internal config needs to be set BEFORE chip
is enabled. Align code to this and move the CHIP enable after the CHIP
is configured.
While at it also make use of STATUS reg and check when STARTUP is
completed instead of sleep for 1-2 ms.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240712004556.15601-3-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-lm3530.c')
0 files changed, 0 insertions, 0 deletions