Commit adfd4621 authored by Martin Kurbanov's avatar Martin Kurbanov Committed by Lee Jones
Browse files

leds: aw200xx: Fix write to DIM parameter



If write only DIM value to the page 4, LED brightness will not be
updated, as both DIM and FADE need to be written to the page 4.
Therefore, write DIM to the page 1.

Fixes: 36a87f37 ("leds: Add AW20xx driver")
Signed-off-by: default avatarMartin Kurbanov <mmkurbanov@salutedevices.com>
Signed-off-by: default avatarDmitry Rokosov <ddrokosov@salutedevices.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231125200519.1750-2-ddrokosov@salutedevices.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 6dec6598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment