leds: lp8550: restore register values on resume
authorJames Wylder <james.wylder@motorola.com>
Sat, 29 Jan 2011 00:50:32 +0000 (18:50 -0600)
committerColin Cross <ccross@android.com>
Sat, 29 Jan 2011 05:10:53 +0000 (21:10 -0800)
commita648edef463862aae36f7004e930953012f248e4
treed63ed684c569894d562b1889beba39e94fae9a94
parent08d79c253d42d1d7fe5e7ee27eb18ba09957e91b
leds: lp8550: restore register values on resume

In some cases the lp8550 is resetting on resume and
we need to restore the default values of registers a1-a7

Change-Id: I42e20d646c077008eab2a7100a731ece2bf835d8
Signed-off-by: James Wylder <james.wylder@motorola.com>
drivers/leds/leds-lp8550.c