summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-07-02 16:40:47 +0400
committerManu Abraham <manu@linuxtv.org>2007-07-02 16:40:47 +0400
commitb6a7503cf67885eaaeab7a54e7b13b0be52d1de6 (patch)
treef4517a0756606b94336d945334eee3dcf607778c /linux/drivers/media/dvb
parentb67e6351b69a4e5135687c85c17a417b41c0e8f7 (diff)
downloadmediapointer-dvb-s2-b6a7503cf67885eaaeab7a54e7b13b0be52d1de6.tar.gz
mediapointer-dvb-s2-b6a7503cf67885eaaeab7a54e7b13b0be52d1de6.tar.bz2
FIX: reading from wrong registers
From: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-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 85fca73ae..ed8da8faa 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -817,11 +817,11 @@ static int stb0899_diseqc_init(struct stb0899_state *state)
reg = stb0899_read_reg(state, STB0899_DISCNTRL2);
STB0899_SETFIELD_VAL(ONECHIP_TRX, reg, 0);
stb0899_write_reg(state, STB0899_DISCNTRL2, reg);
- reg = stb0899_read_reg(state, STB0899_DISCNTRL1);
+ reg = stb0899_read_reg(state, STB0899_DISCNTRL2);
STB0899_SETFIELD_VAL(ONECHIP_TRX, reg, 1);
stb0899_write_reg(state, STB0899_DISCNTRL2, reg);
- reg = stb0899_read_reg(state, STB0899_DISCNTRL1);
+ reg = stb0899_read_reg(state, STB0899_DISCNTRL2);
STB0899_SETFIELD_VAL(ONECHIP_TRX, reg, 0);
stb0899_write_reg(state, STB0899_DISCNTRL2, reg);