Re: [PATCH 08/10] leds: lp5523: remove unnecessary writing commands

2013-08-13 Thread Bryan Wu
On Thu, Aug 8, 2013 at 12:59 AM, Milo Kim wrote: > 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

[PATCH 08/10] leds: lp5523: remove unnecessary writing commands

2013-08-08 Thread Milo Kim
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 ne