aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index f82f50d6acf5..f63cb18b37f6 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -496,7 +496,8 @@ static int af9015_copy_firmware(struct dvb_usb_device *d)
496 /* wait 2nd demodulator ready */ 496 /* wait 2nd demodulator ready */
497 msleep(100); 497 msleep(100);
498 498
499 ret = af9015_read_reg_i2c(d, 0x3a, 0x98be, &val); 499 ret = af9015_read_reg_i2c(d,
500 af9015_af9013_config[1].demod_address, 0x98be, &val);
500 if (ret) 501 if (ret)
501 goto error; 502 goto error;
502 else 503 else