The patch number 9438 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: Arvo Jarve <[EMAIL PROTECTED]>
Bug! RTF is signed
Signed-off-by: Arvo Jarve <[EMAIL PROTECTED]>
Signed-off-by: Manu Abraham <[EMAIL PROTECTED]>
---
linux/drivers/media/dvb/frontends/stb0899_algo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff -r 8ec180671ac6 -r 3202026202bd
linux/drivers/media/dvb/frontends/stb0899_algo.c
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c Thu Nov 01 02:22:02
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c Sat Nov 10 00:24:45
2007 +0400
@@ -194,8 +194,9 @@ static enum stb0899_status stb0899_check
static enum stb0899_status stb0899_check_tmg(struct stb0899_state *state)
{
struct stb0899_internal *internal = &state->internal;
- int lock, timing;
+ int lock;
u8 reg;
+ s8 timing;
msleep(internal->t_timing);
@@ -207,7 +208,7 @@ static enum stb0899_status stb0899_check
timing = stb0899_read_reg(state, STB0899_RTF);
if (lock >= 42) {
- if ((lock > 48) && (timing >= 110)) {
+ if ((lock > 48) && (ABS(timing) >= 110)) {
internal->status = ANALOGCARRIER;
dprintk(state->verbose, FE_DEBUG, 1, "-->ANALOG Carrier
!");
} else {
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/3202026202bd643973d5c771475eee06f76bf4ad
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits