From b3c49c05b737887443c894c66635ae68dcdf0027 Mon Sep 17 00:00:00 2001 From: Srinidhi KASAGAR Date: Mon, 31 Oct 2011 17:12:24 -0700 Subject: [PATCH] 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-format-patch failed