]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/leds/leds-lp5523.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:44 +0000 (06:50 +0900)
commit7e60dc4a7a1b20692accd0defb1bdbedf6e49d57
tree81a1ee57bd8bc9a434af718a0769cf609fc7356f
parentb1783e2be394264cf5dfe47b4d8573f259ffbed4
drivers/leds/leds-lp5523.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-lp5523.c