Home
last modified time | relevance | path

Searched hist:ed2abfebb041473092b41527903f93390d38afa7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-lp5562.cdiff ed2abfebb041473092b41527903f93390d38afa7 Wed Jul 17 16:56:06 CDT 2019 Nick Stoughton <nstoughton@logitech.com> leds: leds-lp5562 allow firmware files up to the maximum length

Firmware files are in ASCII, using 2 hex characters per byte. The
maximum length of a firmware string is therefore

16 (commands) * 2 (bytes per command) * 2 (characters per byte) = 64

Fixes: ff45262a85db ("leds: add new LP5562 LED driver")
Signed-off-by: Nick Stoughton <nstoughton@logitech.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>