The patch number 9437 was added via Manu Abraham <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[EMAIL PROTECTED]
------
From: Manu Abraham <[EMAIL PROTECTED]>
Disable Symbol rate auto scan feature
Signed-off-by: Manu Abraham <[EMAIL PROTECTED]>
---
linux/drivers/media/dvb/frontends/stb0899_algo.c | 16 +++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff -r bbb6dcfb74ac -r 8ec180671ac6
linux/drivers/media/dvb/frontends/stb0899_algo.c
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c Wed Oct 31 03:05:59
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c Thu Nov 01 02:22:02
2007 +0400
@@ -91,7 +91,7 @@ static u32 stb0899_set_srate(struct stb0
u32 tmp, tmp_up, srate_up;
u8 sfr_up[3], sfr[3];
- srate_up = srate;
+// srate_up = srate;
dprintk(state->verbose, FE_DEBUG, 1, "-->");
/*
* in order to have the maximum precision, the symbol rate entered into
@@ -99,20 +99,20 @@ static u32 stb0899_set_srate(struct stb0
* In this purpose, the symbol rate value is rounded (1 is added on the
bit
* below the LSB )
*/
- srate_up += (srate_up * 3) / 100;
+// srate_up += (srate_up * 3) / 100;
tmp = BinaryFloatDiv(srate, master_clk, 20);
- tmp_up = BinaryFloatDiv(srate_up, master_clk, 20);
-
- sfr_up[0] = (tmp_up >> 12) & 0xff;
- sfr_up[1] = (tmp_up >> 4) & 0xff;
- sfr_up[2] = tmp_up & 0x0f;
+// tmp_up = BinaryFloatDiv(srate_up, master_clk, 20);
+
+// sfr_up[0] = (tmp_up >> 12) & 0xff;
+// sfr_up[1] = (tmp_up >> 4) & 0xff;
+// sfr_up[2] = tmp_up & 0x0f;
sfr[0] = (tmp >> 12) & 0xff;
sfr[1] = (tmp >> 4) & 0xff;
sfr[2] = tmp & 0x0f;
- stb0899_write_regs(state, STB0899_SFRUPH, sfr_up, 3);
+// stb0899_write_regs(state, STB0899_SFRUPH, sfr_up, 3);
stb0899_write_regs(state, STB0899_SFRH, sfr, 3);
return srate;
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/8ec180671ac60be813cf5d7f48ce2a4ed5258fae
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits