summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000mb.c6
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000mb_priv.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib3000mb.c b/linux/drivers/media/dvb/frontends/dib3000mb.c
index 79d4a11e7..79698cf4c 100644
--- a/linux/drivers/media/dvb/frontends/dib3000mb.c
+++ b/linux/drivers/media/dvb/frontends/dib3000mb.c
@@ -17,7 +17,7 @@
* Amaury Demol (ademol@dibcom.fr) from DiBcom for providing specs and driver
* sources, on which this driver (and the dvb-dibusb) are based.
*
- * $Id: dib3000mb.c,v 1.13 2004/10/28 17:37:07 quincy Exp $$
+ * $Id: dib3000mb.c,v 1.14 2004/10/31 13:35:38 pmp Exp $$
*
* see Documentation/dvb/README.dibusb for more information
*
@@ -155,10 +155,10 @@ static int dib3000mb_set_frontend(struct dvb_frontend* fe,
if (tuner) {
wr(DIB3000MB_REG_TUNER,
- DIB3000MB_ACTIVATE_TUNER_XFER(state->config->pll_addr << 1));
+ DIB3000MB_ACTIVATE_TUNER_XFER(state->config->pll_addr));
state->config->pll_set(fe, fep);
wr(DIB3000MB_REG_TUNER,
- DIB3000MB_DEACTIVATE_TUNER_XFER(state->config->pll_addr << 1));
+ DIB3000MB_DEACTIVATE_TUNER_XFER(state->config->pll_addr));
deb_setf("bandwidth: ");
switch (ofdm->bandwidth) {
diff --git a/linux/drivers/media/dvb/frontends/dib3000mb_priv.h b/linux/drivers/media/dvb/frontends/dib3000mb_priv.h
index 9875403ab..9ea8217f7 100644
--- a/linux/drivers/media/dvb/frontends/dib3000mb_priv.h
+++ b/linux/drivers/media/dvb/frontends/dib3000mb_priv.h
@@ -7,7 +7,7 @@
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, version 2.
*
- * $Id: dib3000mb_priv.h,v 1.2 2004/10/28 17:37:07 quincy Exp $
+ * $Id: dib3000mb_priv.h,v 1.3 2004/10/31 13:35:38 pmp Exp $
*
* for more information see dib3000mb.c .
*/
@@ -528,8 +528,8 @@ static u16 dib3000mb_filter_coeffs[] = {
/* set the tuner i2c address */
#define DIB3000MB_REG_TUNER ( 1089)
-#define DIB3000MB_ACTIVATE_TUNER_XFER(a) (0xffff & (a << 7))
-#define DIB3000MB_DEACTIVATE_TUNER_XFER(a) (0xffff & ((a << 7) + 0x80))
+#define DIB3000MB_ACTIVATE_TUNER_XFER(a) (0xffff & ((a) << 7))
+#define DIB3000MB_DEACTIVATE_TUNER_XFER(a) (0xffff & (((a) << 7) + 0x80))
/* monitoring registers (read only) */