diff options
| -rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 578afce6884c..aaa0b6f0b521 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
| @@ -565,7 +565,8 @@ static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) | |||
| 565 | 565 | ||
| 566 | static int dvico_bluebird_xc2028_callback(void *ptr, int command, int arg) | 566 | static int dvico_bluebird_xc2028_callback(void *ptr, int command, int arg) |
| 567 | { | 567 | { |
| 568 | struct dvb_usb_device *d = ptr; | 568 | struct dvb_usb_adapter *adap = ptr; |
| 569 | struct dvb_usb_device *d = adap->dev; | ||
| 569 | 570 | ||
| 570 | switch (command) { | 571 | switch (command) { |
| 571 | case XC2028_TUNER_RESET: | 572 | case XC2028_TUNER_RESET: |
| @@ -593,9 +594,9 @@ static int cxusb_dvico_xc3028_tuner_attach(struct dvb_usb_adapter *adap) | |||
| 593 | .callback = dvico_bluebird_xc2028_callback, | 594 | .callback = dvico_bluebird_xc2028_callback, |
| 594 | }; | 595 | }; |
| 595 | static struct xc2028_ctrl ctl = { | 596 | static struct xc2028_ctrl ctl = { |
| 596 | .fname = "xc3028-dvico-au-01.fw", | 597 | .fname = "xc3028-v27.fw", |
| 597 | .max_len = 64, | 598 | .max_len = 64, |
| 598 | .scode_table = XC3028_FE_ZARLINK456, | 599 | .demod = XC3028_FE_ZARLINK456, |
| 599 | }; | 600 | }; |
| 600 | 601 | ||
| 601 | fe = dvb_attach(xc2028_attach, adap->fe, &cfg); | 602 | fe = dvb_attach(xc2028_attach, adap->fe, &cfg); |
