]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6974): Fix codingStyle
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 7 Jan 2008 08:18:36 +0000 (05:18 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:40 +0000 (19:04 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-input.c

index 7f4212928e9f67945dd857cd1c1a329cb18a8f06..0db955c2d9b9e0983c55e1eeca336201fc708664 100644 (file)
@@ -173,7 +173,7 @@ static int get_key_beholdm6xx(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
 
        gpio = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
 
-       if (0x400000 &gpio)
+       if (0x400000 & ~gpio)
                return 0; /* No button press */
 
        ir->c.addr = 0x5a >> 1;