Home
last modified time | relevance | path

Searched hist:"28 c9266b38a00a07497daad0237f7fa154652ece" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-lp5521.cdiff 28c9266b38a00a07497daad0237f7fa154652ece Thu Nov 21 00:13:34 CST 2013 Milo Kim <milo.kim@ti.com> 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>
H A Dleds-lp5523.cdiff 28c9266b38a00a07497daad0237f7fa154652ece Thu Nov 21 00:13:34 CST 2013 Milo Kim <milo.kim@ti.com> 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>