]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1783e2be394264cf5dfe47b4d8573f259ffbed4
treecaaa74d24e34d07ec74c7879ad30446878662e0d
parent8557e891a8501ef8e4d7b47144ff7b8f44274df7
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