diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dibusb-mb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c index f4c45f386ebc..effd34cc4b02 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mb.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c | |||
@@ -21,11 +21,11 @@ static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d) | |||
21 | 21 | ||
22 | demod_cfg.demod_address = 0x8; | 22 | demod_cfg.demod_address = 0x8; |
23 | 23 | ||
24 | if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) { | 24 | if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) |
25 | d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; | ||
26 | d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; | ||
27 | return -ENODEV; | 25 | return -ENODEV; |
28 | } | 26 | |
27 | d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; | ||
28 | d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; | ||
29 | 29 | ||
30 | d->tuner_pass_ctrl = st->ops.tuner_pass_ctrl; | 30 | d->tuner_pass_ctrl = st->ops.tuner_pass_ctrl; |
31 | 31 | ||
@@ -169,7 +169,7 @@ static struct dvb_usb_properties dibusb1_1_properties = { | |||
169 | 169 | ||
170 | .rc_interval = DEFAULT_RC_INTERVAL, | 170 | .rc_interval = DEFAULT_RC_INTERVAL, |
171 | .rc_key_map = dibusb_rc_keys, | 171 | .rc_key_map = dibusb_rc_keys, |
172 | .rc_key_map_size = 63, /* wow, that is ugly ... I want to load it to the driver dynamically */ | 172 | .rc_key_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ |
173 | .rc_query = dibusb_rc_query, | 173 | .rc_query = dibusb_rc_query, |
174 | 174 | ||
175 | .i2c_algo = &dibusb_i2c_algo, | 175 | .i2c_algo = &dibusb_i2c_algo, |
@@ -247,7 +247,7 @@ static struct dvb_usb_properties dibusb1_1_an2235_properties = { | |||
247 | 247 | ||
248 | .rc_interval = DEFAULT_RC_INTERVAL, | 248 | .rc_interval = DEFAULT_RC_INTERVAL, |
249 | .rc_key_map = dibusb_rc_keys, | 249 | .rc_key_map = dibusb_rc_keys, |
250 | .rc_key_map_size = 63, /* wow, that is ugly ... I want to load it to the driver dynamically */ | 250 | .rc_key_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ |
251 | .rc_query = dibusb_rc_query, | 251 | .rc_query = dibusb_rc_query, |
252 | 252 | ||
253 | .i2c_algo = &dibusb_i2c_algo, | 253 | .i2c_algo = &dibusb_i2c_algo, |
@@ -272,8 +272,8 @@ static struct dvb_usb_properties dibusb1_1_an2235_properties = { | |||
272 | #endif | 272 | #endif |
273 | .devices = { | 273 | .devices = { |
274 | { "Artec T1 USB1.1 TVBOX with AN2235", | 274 | { "Artec T1 USB1.1 TVBOX with AN2235", |
275 | { &dibusb_dib3000mb_table[20], NULL }, | ||
276 | { &dibusb_dib3000mb_table[21], NULL }, | 275 | { &dibusb_dib3000mb_table[21], NULL }, |
276 | { &dibusb_dib3000mb_table[22], NULL }, | ||
277 | }, | 277 | }, |
278 | #ifdef CONFIG_DVB_USB_DIBUSB_MB_FAULTY | 278 | #ifdef CONFIG_DVB_USB_DIBUSB_MB_FAULTY |
279 | { "Artec T1 USB1.1 TVBOX with AN2235 (faulty USB IDs)", | 279 | { "Artec T1 USB1.1 TVBOX with AN2235 (faulty USB IDs)", |
@@ -304,7 +304,7 @@ static struct dvb_usb_properties dibusb2_0b_properties = { | |||
304 | 304 | ||
305 | .rc_interval = DEFAULT_RC_INTERVAL, | 305 | .rc_interval = DEFAULT_RC_INTERVAL, |
306 | .rc_key_map = dibusb_rc_keys, | 306 | .rc_key_map = dibusb_rc_keys, |
307 | .rc_key_map_size = 63, /* wow, that is ugly ... I want to load it to the driver dynamically */ | 307 | .rc_key_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ |
308 | .rc_query = dibusb_rc_query, | 308 | .rc_query = dibusb_rc_query, |
309 | 309 | ||
310 | .i2c_algo = &dibusb_i2c_algo, | 310 | .i2c_algo = &dibusb_i2c_algo, |
@@ -355,7 +355,7 @@ static struct dvb_usb_properties artec_t1_usb2_properties = { | |||
355 | 355 | ||
356 | .rc_interval = DEFAULT_RC_INTERVAL, | 356 | .rc_interval = DEFAULT_RC_INTERVAL, |
357 | .rc_key_map = dibusb_rc_keys, | 357 | .rc_key_map = dibusb_rc_keys, |
358 | .rc_key_map_size = 63, /* wow, that is ugly ... I want to load it to the driver dynamically */ | 358 | .rc_key_map_size = 111, /* wow, that is ugly ... I want to load it to the driver dynamically */ |
359 | .rc_query = dibusb_rc_query, | 359 | .rc_query = dibusb_rc_query, |
360 | 360 | ||
361 | .i2c_algo = &dibusb_i2c_algo, | 361 | .i2c_algo = &dibusb_i2c_algo, |