The patch number 10411 was added via Devin Heitmueller <dheitmuel...@linuxtv.org> 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: Linux Media Mailing List <linux-me...@vger.kernel.org> ------ From: Devin Heitmueller <dheitmuel...@linuxtv.org> s5h1409: Perform s5h1409 soft reset after tuning Just like with the s5h1411, the s5h1409 needs a soft-reset in order for it to know that the tuner has been told to change frequencies. This change changes the behavior from "random tuning times between 500ms to complete tuning lock failures" to "tuning lock consistently within 700ms". Thanks to Robert Krakora <rob.krak...@messagenetsystems.com> for doing initial testing of the patch on the KWorld 330U. Thanks to Andy Walls <awa...@radix.net> for doing testing of the patch on the HVR-1600. Thanks to Michael Krufky <mkru...@linuxtv.org> for doing additional testing. Signed-off-by: Devin Heitmueller <dheitmuel...@linuxtv.org> Signed-off-by: Michael Krufky <mkru...@linuxtv.org> --- linux/drivers/media/dvb/frontends/s5h1409.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff -r f4d7d0b84940 -r 6bb4e117a614 linux/drivers/media/dvb/frontends/s5h1409.c --- a/linux/drivers/media/dvb/frontends/s5h1409.c Sun Jan 18 10:55:38 2009 +0000 +++ b/linux/drivers/media/dvb/frontends/s5h1409.c Mon Jan 26 01:07:59 2009 -0500 @@ -545,9 +545,6 @@ static int s5h1409_set_frontend(struct d s5h1409_enable_modulation(fe, p->u.vsb.modulation); - /* Allow the demod to settle */ - msleep(100); - if (fe->ops.tuner_ops.set_params) { if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 1); @@ -561,6 +558,10 @@ static int s5h1409_set_frontend(struct d s5h1409_set_qam_amhum_mode(fe); s5h1409_set_qam_interleave_mode(fe); } + + /* Issue a reset to the demod so it knows to resync against the + newly tuned frequency */ + s5h1409_softreset(fe); return 0; } --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/6bb4e117a614e008e71b54fac4ea284fa07c8c75 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits