diff options
author | Arvo Jarve <arvo@softshark.ee> | 2007-11-09 18:21:27 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 17:53:20 -0200 |
commit | d0a41e8f8fa3d0fe94ebd1cc115f73e3d7b97172 (patch) | |
tree | 72d1562df190d43c279ddcb8564fbb080ff53c63 /drivers/media/dvb/frontends/stb0899_algo.c | |
parent | 1b792e05e99f0f56eb4da91084ac9b8e8a132a15 (diff) | |
download | linux-d0a41e8f8fa3d0fe94ebd1cc115f73e3d7b97172.tar.gz linux-d0a41e8f8fa3d0fe94ebd1cc115f73e3d7b97172.tar.bz2 linux-d0a41e8f8fa3d0fe94ebd1cc115f73e3d7b97172.zip |
V4L/DVB (9440): Bug in previous commit
Signed-off-by: Arvo Jarve <arvo@softshark.ee>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_algo.c')
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_algo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_algo.c b/drivers/media/dvb/frontends/stb0899_algo.c index 6913bebe7162..2d2b87cf6d00 100644 --- a/drivers/media/dvb/frontends/stb0899_algo.c +++ b/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); |