leds: aw200xx: Add delay after software reset
authorGeorge Stark <gnstark@salutedevices.com>
Sat, 25 Nov 2023 20:05:14 +0000 (23:05 +0300)
committerLee Jones <lee@kernel.org>
Wed, 13 Dec 2023 11:28:58 +0000 (11:28 +0000)
commitd883a5ab2f345c2adca781901731795ab94886fb
tree5a5148b736986a33359c37dd373d051f11990c87
parentaa4ed49f42400b503690fd3184d93eee0d765a88
leds: aw200xx: Add delay after software reset

According to the datasheets of AW200xx devices, the software reset takes
at least 1ms. Therefore, it is required to add a delay after the
reset before issuing commands to the device.

Signed-off-by: George Stark <gnstark@salutedevices.com>
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Link: https://lore.kernel.org/r/20231125200519.1750-7-ddrokosov@salutedevices.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-aw200xx.c