Linux Kernels

V4L/DVB (9440): Bug in previous commit

This change “V4L/DVB (9440): Bug in previous commit” (commit d0a41e8) in Linux kernel is authored by Arvo Jarve <arvo [at] softshark.ee> on Fri Nov 9 18:21:27 2007 -0300.

Description of "V4L/DVB (9440): Bug in previous commit"

The change “V4L/DVB (9440): Bug in previous commit” introduces changes as follows.

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>

Linux kernel releases containing commit d0a41e8

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "V4L/DVB (9440): Bug in previous commit"

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/media/dvb/frontends/stb0899_algo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
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);

The commit for this change in Linux stable tree is d0a41e8 (patch).

Last modified: 2020/01/11 06:48