diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/gl861.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/gl861.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/gl861.c b/drivers/media/dvb/dvb-usb/gl861.c index c9f38a5e70d3..e0587e663591 100644 --- a/drivers/media/dvb/dvb-usb/gl861.c +++ b/drivers/media/dvb/dvb-usb/gl861.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include "qt1010.h" | 12 | #include "qt1010.h" |
13 | 13 | ||
14 | /* debug */ | 14 | /* debug */ |
15 | int dvb_usb_gl861_debug; | 15 | static int dvb_usb_gl861_debug; |
16 | module_param_named(debug,dvb_usb_gl861_debug, int, 0644); | 16 | module_param_named(debug,dvb_usb_gl861_debug, int, 0644); |
17 | MODULE_PARM_DESC(debug, "set debugging level (1=rc (or-able))." DVB_USB_DEBUG_STATUS); | 17 | MODULE_PARM_DESC(debug, "set debugging level (1=rc (or-able))." DVB_USB_DEBUG_STATUS); |
18 | 18 | ||
@@ -20,7 +20,7 @@ static int gl861_i2c_msg(struct dvb_usb_device *d, u8 addr, | |||
20 | u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) | 20 | u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) |
21 | { | 21 | { |
22 | u16 index; | 22 | u16 index; |
23 | u16 value = addr << 8; | 23 | u16 value = addr << (8 + 1); |
24 | int wo = (rbuf == NULL || rlen == 0); /* write-only */ | 24 | int wo = (rbuf == NULL || rlen == 0); /* write-only */ |
25 | u8 req, type; | 25 | u8 req, type; |
26 | 26 | ||
@@ -101,7 +101,7 @@ static int gl861_identify_state(struct usb_device *udev, | |||
101 | } | 101 | } |
102 | 102 | ||
103 | static struct zl10353_config gl861_zl10353_config = { | 103 | static struct zl10353_config gl861_zl10353_config = { |
104 | .demod_address = 0x1e, | 104 | .demod_address = 0x0f, |
105 | .no_tuner = 1, | 105 | .no_tuner = 1, |
106 | .parallel_ts = 1, | 106 | .parallel_ts = 1, |
107 | }; | 107 | }; |
@@ -117,7 +117,7 @@ static int gl861_frontend_attach(struct dvb_usb_adapter *adap) | |||
117 | } | 117 | } |
118 | 118 | ||
119 | static struct qt1010_config gl861_qt1010_config = { | 119 | static struct qt1010_config gl861_qt1010_config = { |
120 | .i2c_address = 0xc4 | 120 | .i2c_address = 0x62 |
121 | }; | 121 | }; |
122 | 122 | ||
123 | static int gl861_tuner_attach(struct dvb_usb_adapter *adap) | 123 | static int gl861_tuner_attach(struct dvb_usb_adapter *adap) |