summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/dib8000.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 14:15:28 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-07 09:55:16 -0300
commitc063c7c6a355cc7214ed8fb31d5e989b3baa0b87 (patch)
treefa4bff6d3de034411e71473c480dfe4695e1cef9 /drivers/media/dvb-frontends/dib8000.c
parent34ba2e65bab3693cdd7c2ee0b8ba6477bd8c366b (diff)
downloadlinux-c063c7c6a355cc7214ed8fb31d5e989b3baa0b87.tar.bz2
[media] dib8000: Fix ADC OFF settings
The ADC OFF values are wrong. This causes troubles on detecting weak signals. Acked-By: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib8000.c')
-rw-r--r--drivers/media/dvb-frontends/dib8000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c
index 78ccbe13d189..8dd34e0194fe 100644
--- a/drivers/media/dvb-frontends/dib8000.c
+++ b/drivers/media/dvb-frontends/dib8000.c
@@ -588,8 +588,8 @@ static int dib8000_set_adc_state(struct dib8000_state *state, enum dibx000_adc_s
break;
case DIBX000_ADC_OFF: // leave the VBG voltage on
- reg_907 |= (1 << 14) | (1 << 13) | (1 << 12);
- reg_908 |= (1 << 5) | (1 << 4) | (1 << 3) | (1 << 2);
+ reg_907 = (1 << 13) | (1 << 12);
+ reg_908 = (1 << 6) | (1 << 5) | (1 << 4) | (1 << 3) | (1 << 1);
break;
case DIBX000_VBG_ENABLE: