From 5a9b049e20e0b7f4a640c3af1be3918b365da2a1 Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Fri, 5 Oct 2007 19:09:43 +0400 Subject: Bug: DiSEqC receiver was trying to initialize the transmitter From: Manu Abraham Signed-off-by: Manu Abraham --- linux/drivers/media/dvb/frontends/stb0899_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers') 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 */ -- cgit v1.2.3