From: Arvo Jarve Date: Fri, 9 Nov 2007 21:21:27 +0000 (-0300) Subject: V4L/DVB (9440): Bug in previous commit X-Git-Tag: MMI-PSA29.97-13-9~30449^2~504 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0a41e8f8fa3d0fe94ebd1cc115f73e3d7b97172;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git V4L/DVB (9440): Bug in previous commit Signed-off-by: Arvo Jarve Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- 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);