summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-11-26 09:21:48 +0000
committerHolger Waechtler <devnull@localhost>2002-11-26 09:21:48 +0000
commit836d6548599807e5e8e201e825552402652fc727 (patch)
treec66e4163bd9c7ccb83c3c5fec25d568e46c40d7e /linux/drivers/media/dvb/frontends
parentbe143a812fb4c18a2e19565b77e5c23c8719259e (diff)
downloadmediapointer-dvb-s2-836d6548599807e5e8e201e825552402652fc727.tar.gz
mediapointer-dvb-s2-836d6548599807e5e8e201e825552402652fc727.tar.bz2
add explicit parentheses to ensure the correct operator precedence
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/ves1820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/ves1820.c b/linux/drivers/media/dvb/frontends/ves1820.c
index 66f9911bd..ab1558f87 100644
--- a/linux/drivers/media/dvb/frontends/ves1820.c
+++ b/linux/drivers/media/dvb/frontends/ves1820.c
@@ -209,7 +209,7 @@ int ves1820_setup_reg0 (struct dvb_frontend *fe, u8 reg0)
/**
* check lock and toggle inversion bit if required...
*/
- if (!ves1820_readreg (fe, 0x11) & 0x08) {
+ if (!(ves1820_readreg (fe, 0x11) & 0x08)) {
ddelay(1);
if (!ves1820_readreg (fe, 0x11) & 0x08) {
reg0 ^= 0x20;