diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-04 14:15:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-07 10:08:06 -0300 |
commit | e9d30402a8e156a69a6e05fd1b7ef5ac6acd94f5 (patch) | |
tree | a96771262dd4a3f250698909f0cef66d8b8e62fb | |
parent | 794d3843888b8a0628d5271cd0e964dbdc7b674a (diff) | |
download | linux-3.10-e9d30402a8e156a69a6e05fd1b7ef5ac6acd94f5.tar.gz linux-3.10-e9d30402a8e156a69a6e05fd1b7ef5ac6acd94f5.tar.bz2 linux-3.10-e9d30402a8e156a69a6e05fd1b7ef5ac6acd94f5.zip |
upstream: [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>
Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=c063c7c6a355
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | drivers/media/dvb-frontends/dib8000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index 78ccbe13d18..8dd34e0194f 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: |