summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stb0899_algo.c
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-11-10 01:21:27 +0400
committerManu Abraham <manu@linuxtv.org>2007-11-10 01:21:27 +0400
commit8df65ba9b060a7455574e6cb255391206046966b (patch)
treed65218bd1498389c8c9c164d48afa6343063d7f8 /linux/drivers/media/dvb/frontends/stb0899_algo.c
parente81e6a0e9dcad16995efbcbbda088f9ccb9d0a02 (diff)
downloadmediapointer-dvb-s2-8df65ba9b060a7455574e6cb255391206046966b.tar.gz
mediapointer-dvb-s2-8df65ba9b060a7455574e6cb255391206046966b.tar.bz2
Bug in previous commit
From: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Arvo Jarve <arvo@softshark.ee> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stb0899_algo.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_algo.c b/linux/drivers/media/dvb/frontends/stb0899_algo.c
index f4203e493..fc7339842 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c
@@ -110,7 +110,7 @@ static u32 stb0899_set_srate(struct stb0899_state *state, u32 master_clk, u32 sr
sfr[0] = (tmp >> 12) & 0xff;
sfr[1] = (tmp >> 4) & 0xff;
- sfr[2] = tmp & 0xf0;
+ sfr[2] = (tmp << 4) & 0xf0;
// stb0899_write_regs(state, STB0899_SFRUPH, sfr_up, 3);
stb0899_write_regs(state, STB0899_SFRH, sfr, 3);