The patch number 9446 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: Reinhard Nissl  <[EMAIL PROTECTED]>
Bug Fix an overflow in bandwidth calculation


Signed-off-by: Reinhard Nissl <[EMAIL PROTECTED]>
Signed-off-by: Manu Abraham <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/stb0899_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 3e938c50654c -r b31e4dd84d85 
linux/drivers/media/dvb/frontends/stb0899_drv.c
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   Fri Jan 18 23:06:18 
2008 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   Sat Jan 19 03:09:52 
2008 +0400
@@ -1634,7 +1634,7 @@ static enum dvbfe_search stb0899_search(
 
                        /* What to do for tuners having no bandwidth setup ?    
*/
                        if (state->config->tuner_set_bandwidth)
-                               state->config->tuner_set_bandwidth(fe, (135 * 
(stb0899_carr_width(state) + SearchRange)) / 100);
+                               state->config->tuner_set_bandwidth(fe, (13 * 
(stb0899_carr_width(state) + SearchRange)) / 10);
                        if (state->config->tuner_get_bandwidth)
                                state->config->tuner_get_bandwidth(fe, 
&internal->tuner_bw);
                        /* Set DVB-S1 AGC               */


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/b31e4dd84d8593ba28d3ef548fc0d6c7d39a3277

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to