The patch number 9427 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]>
Code simplification: Sleep only for the required time interval.
* Saves 70 mS LOCK time on the STB6100 based
* Saves 100 mS LOCK time on the TDA8261 based


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


---

 linux/drivers/media/dvb/frontends/stb0899_algo.c |    2 --
 linux/drivers/media/dvb/frontends/stb6100.c      |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r af944c08a1ac -r 9afebe92bd4c 
linux/drivers/media/dvb/frontends/stb0899_algo.c
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c  Thu Oct 18 19:03:40 
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c  Fri Oct 19 13:27:56 
2007 +0400
@@ -618,8 +618,6 @@ enum stb0899_status stb0899_dvbs_algo(st
                if (state->config->tuner_set_frequency)
                        state->config->tuner_set_frequency(&state->frontend, 
internal->freq);
 
-               msleep(100);
-
                if (state->config->tuner_get_frequency)
                        state->config->tuner_get_frequency(&state->frontend, 
&internal->freq);
 
diff -r af944c08a1ac -r 9afebe92bd4c linux/drivers/media/dvb/frontends/stb6100.c
--- a/linux/drivers/media/dvb/frontends/stb6100.c       Thu Oct 18 19:03:40 
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb6100.c       Fri Oct 19 13:27:56 
2007 +0400
@@ -433,6 +433,8 @@ static int stb6100_set_frequency(struct 
        if ((rc = stb6100_write_reg(state, STB6100_FCCK, regs[STB6100_FCCK])) < 
0)
                return rc;
 
+       msleep(30);
+
        return 0;
 }
 


---

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

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

Reply via email to