[media] af9035: fix af9033 demod sampling frequency
authorAntti Palosaari <crope@iki.fi>
Mon, 7 Jan 2013 18:26:05 +0000 (15:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 21:48:16 +0000 (18:48 -0300)
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>
drivers/media/usb/dvb-usb-v2/af9035.c

index 2c5b01d..1a4aeef 100644 (file)
@@ -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);