summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-11-10 00:33:26 +0400
committerManu Abraham <manu@linuxtv.org>2007-11-10 00:33:26 +0400
commite81e6a0e9dcad16995efbcbbda088f9ccb9d0a02 (patch)
treed307e6a8210f2d6fbf9f9ff0f8a95f2a64e9e520 /linux
parent724349efd2c5f986fef38941542d6405e0ab96b5 (diff)
downloadmediapointer-dvb-s2-e81e6a0e9dcad16995efbcbbda088f9ccb9d0a02.tar.gz
mediapointer-dvb-s2-e81e6a0e9dcad16995efbcbbda088f9ccb9d0a02.tar.bz2
Bug! SFRL nibble got swapped
The Bug was found by Arvo Jarve <arvo@softshark.ee> It was a wonder how it worked in the case with this bug, STM verified this that this nibble was in fact insignificant and can be ignored. But still we need to fix all inconsistencies. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux')
-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 d7ae832e2..f4203e493 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 & 0x0f;
+ sfr[2] = tmp & 0xf0;
// stb0899_write_regs(state, STB0899_SFRUPH, sfr_up, 3);
stb0899_write_regs(state, STB0899_SFRH, sfr, 3);