summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-10-05 19:09:43 +0400
committerManu Abraham <manu@linuxtv.org>2007-10-05 19:09:43 +0400
commit5a9b049e20e0b7f4a640c3af1be3918b365da2a1 (patch)
tree27667de8e90549473ce6fdb630b00ca0ec695740 /linux/drivers
parent1b6803c5c59820db0f49b9461d991f91ce789e85 (diff)
downloadmediapointer-dvb-s2-5a9b049e20e0b7f4a640c3af1be3918b365da2a1.tar.gz
mediapointer-dvb-s2-5a9b049e20e0b7f4a640c3af1be3918b365da2a1.tar.bz2
Bug: DiSEqC receiver was trying to initialize the transmitter
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index 4fe20afeb..aaab58688 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -832,7 +832,7 @@ static int stb0899_diseqc_init(struct stb0899_state *state)
#if 0
while ((count < 5) && (trial < 2)) {
- stb0899_write_reg(state, STB0899_DISF22, f22_tx); /* 2 possible values 17.5k/20k */
+ stb0899_write_reg(state, STB0899_DISF22RX, f22_rx); /* 2 possible values 17.5k/20k */
for (i = 0; i < 5; i++) {
msleep(50);
@@ -861,7 +861,7 @@ static int stb0899_diseqc_init(struct stb0899_state *state)
f22_rx = mclk / (state->rx_freq * 32);
}
- stb0899_write_reg(state, STB0899_DISF22, f22_tx);
+ stb0899_write_reg(state, STB0899_DISF22RX, f22_rx);
if ((ret_1 == 0) && (ret_2 == 0))
state->rx_freq = 0; /* no DiSEqC 2.0 slave */