diff options
author | Milo Kim <milo.kim@ti.com> | 2013-11-21 07:13:34 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-01-28 02:28:48 +0100 |
commit | 28c9266b38a00a07497daad0237f7fa154652ece (patch) | |
tree | 211c339c861923ea835a3644eef88aa5f5633e50 /include/asm-generic/unaligned.h | |
parent | LEDS: tca6507 - fix up some comments. (diff) | |
download | linux-28c9266b38a00a07497daad0237f7fa154652ece.tar.xz linux-28c9266b38a00a07497daad0237f7fa154652ece.zip |
leds: lp5521/5523: Fix multiple engine usage bug
Whenever the engine is loaded by the user-application, the operation mode is
reset first. But it has a problem in case of multiple engine used because
previous engine settings are cleared.
The driver should update not whole 8bits but each engine bit by masking.
On the other hands, whole engines should be reset when the driver is unloaded
and on initializing the LP5523 driver.
So, new functions are used for this handling - lp5521/5523_stop_all_engines().
Cc: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'include/asm-generic/unaligned.h')
0 files changed, 0 insertions, 0 deletions