summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-01-07 18:26:05 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 21:48:16 (GMT)
commit0d94d6a04b503bed97911d80963ff8e63deee60e (patch)
tree537331ff91e9166bda65a38afaa555f56111b64d /drivers
parent74c1883a56369d5e323c712a6c81b869e3bcb113 (diff)
downloadlinux-0d94d6a04b503bed97911d80963ff8e63deee60e.tar.xz
[media] af9035: fix af9033 demod sampling frequency
ADC needs to be also multiplied to 2 as it9135. Fixes bug I introduced few commits ago. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9035.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c
index 2c5b01d..1a4aeef 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.c
+++ b/drivers/media/usb/dvb-usb-v2/af9035.c
@@ -589,6 +589,7 @@ static int af9035_read_config_af9035(struct dvb_usb_device *d)
/* demod I2C "address" */
state->af9033_config[0].i2c_addr = 0x38;
+ state->af9033_config[0].adc_multiplier = AF9033_ADC_MULTIPLIER_2X;
/* check if there is dual tuners */
ret = af9035_rd_reg(d, EEPROM_DUAL_MODE, &tmp);