summaryrefslogtreecommitdiffstats
path: root/lib/kstrtox.h
diff options
context:
space:
mode:
authorSrinidhi KASAGAR <srinidhi.kasagar@stericsson.com>2011-10-31 17:12:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 17:30:55 -0700
commitb3c49c05b737887443c894c66635ae68dcdf0027 (patch)
treed2810d450aa00651620dfa160f74b6c8a066f6e4 /lib/kstrtox.h
parent488bc35bf40df89d37486c1826b178a2fba36ce7 (diff)
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. [akpm@linux-foundation.org: fix up code comment] Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Tested-by: Naga Radhesh <naga.radheshy@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/kstrtox.h')
0 files changed, 0 insertions, 0 deletions