drivers/leds/leds-lp5521.c: perform SW reset before detection
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Wed, 24 Nov 2010 20:57:05 +0000 (12:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Nov 2010 21:50:43 +0000 (06:50 +0900)
commit95ea8eec341c1fc881407c96114de7e4173c1b7c
treecaaa74d24e34d07ec74c7879ad30446878662e0d
parent2e4840edb7c485211993919a6a50d93c108198b8
drivers/leds/leds-lp5521.c: perform SW reset before detection

Chip detection may fail if the chip is in some odd state for example after
system restart.  Chip doesn't have HW reset line.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-lp5521.c