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 7f42129..0db955c 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;