]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-leds-leds-lp5521c-check-if-reset-is-successful-fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 24 Oct 2011 14:58:55 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 08:41:31 +0000 (19:41 +1100)
fix up code comment

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Naga Radhesh <naga.radheshy@stericsson.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Cc: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-lp5521.c

index 51ce1fee854054eb11dd56542860c8ed2425806e..cb641f1b33429ab2776cb300194b4e0fd00d3fdb 100644 (file)
@@ -687,11 +687,10 @@ static int __devinit lp5521_probe(struct i2c_client *client,
                                     */
 
        /*
-        * Make sure that the chip is reset by reading back
-        * r channel current reg. This is a dummy read, otherwise
-        * in some platforms, access to R G B channel program
-        * execution mode to 'Run' in LP5521_REG_ENABLE register
-        * will not have any affect - strange!
+        * Make sure that the chip is reset by reading back the r channel
+        * current reg. This is dummy read is required on some platforms -
+        * otherwise further access to the R G B channels in the
+        * LP5521_REG_ENABLE register will not have any effect - strange!
         */
        lp5521_read(client, LP5521_REG_R_CURRENT, &buf);
        if (buf != LP5521_REG_R_CURR_DEFAULT) {