diff options
| author | Srinidhi KASAGAR <[email protected]> | 2011-11-01 00:12:24 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-11-01 00:30:55 +0000 |
| commit | b3c49c05b737887443c894c66635ae68dcdf0027 (patch) | |
| tree | d2810d450aa00651620dfa160f74b6c8a066f6e4 /lib/spinlock_debug.c | |
| parent | leds: turn the blink_timer off before starting to blink (diff) | |
| download | kernel-b3c49c05b737887443c894c66635ae68dcdf0027.tar.gz kernel-b3c49c05b737887443c894c66635ae68dcdf0027.zip | |
drivers/leds/leds-lp5521.c: check if reset is successful
Make sure that the reset is successful by issuing a dummy read to R
channel current register and check its default value. On some platforms,
without this dummy read, any further access to {R/G/B}_EXEC will not have
any impact.
[[email protected]: fix up code comment]
Signed-off-by: srinidhi kasagar <[email protected]>
Tested-by: Naga Radhesh <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
