Searched hist:"1 eca0b3ab8d04e2b1749b28cbcafbba6f6e74225" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-lp5521.c | diff 1eca0b3ab8d04e2b1749b28cbcafbba6f6e74225 Wed Aug 07 23:45:45 CDT 2013 Milo Kim <milo.kim@ti.com> leds: lp5521: remove unnecessary writing commands
This patch reduces the number of programming commands.
(Count of sending commands) Old code: 32 + program size (32 counts for clearing program memory) New code: 32
Pattern buffer is initialized to 0 in this function. Just update new program data and remaining buffers are filled with 0. So it's needless to clear whole area.
Signed-off-by: Milo Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
|