From: Srinidhi KASAGAR Date: Tue, 1 Nov 2011 00:12:24 +0000 (-0700) Subject: drivers/leds/leds-lp5521.c: check if reset is successful X-Git-Tag: v3.2-rc1~108^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c49c05b737887443c894c66635ae68dcdf0027;p=pandora-kernel.git 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 Tested-by: Naga Radhesh Acked-by: Linus Walleij Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed