[media] mxl111sf: fix a couple precedence bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Sep 2011 05:09:42 +0000 (02:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Sep 2011 16:32:00 +0000 (13:32 -0300)
commit4c4364e022f8422e602edbb97a2d873dc0b6c769
tree664c96efee5d6e5d83c0e788a40b68bc71e606c7
parent446b792c6bd87de4565ba200b75a708b4c575a06
[media] mxl111sf: fix a couple precedence bugs

Negate has higher precedence than bitwise AND.  I2C_M_RD is 0x1 so
the original code is equivelent to just checking if (!msg->flags).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Steven Toth <stoth@kernellabs.com>
Cc: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/mxl111sf-i2c.c