diff options
author | Milo Kim <milo.kim@ti.com> | 2013-08-08 05:09:24 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-08-27 00:22:13 (GMT) |
commit | 2f733cad3699c6fd1cc3350ab43c9f684b976e73 (patch) | |
tree | 6a0302f9062e1c079a44d15be5576c8981f0a9b6 /crypto | |
parent | 45e611bfbe18d854498c65d60703841e4a4c3c3a (diff) | |
download | linux-fsl-qoriq-2f733cad3699c6fd1cc3350ab43c9f684b976e73.tar.xz |
leds: lp5523: 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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions