The patch number 9916 was added via Mauro Carvalho Chehab <mche...@redhat.com>
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:
        v4l-dvb-maintai...@linuxtv.org

------

From: Darron Broad  <dar...@kewl.org>
dvb-core: don't add an event when in ONE SHOT mode for algo type HW


It has been noticed that in HW tuning mode in cx24123.c that
a check is made to not alter the status var when in one shot
mode, a simpler solution is to not update here for all cards.

Priority: normal

Signed-off-by: Darron Broad <dar...@kewl.org>
CC: Steven Toth <st...@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>


---

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

diff -r 5196c1463968 -r ec423a64307f 
linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c   Thu Dec 18 07:27:23 
2008 -0200
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c   Thu Dec 18 07:27:50 
2008 -0200
@@ -591,7 +591,7 @@ restart:
                                if (fe->ops.tune)
                                        fe->ops.tune(fe, params, 
fepriv->tune_mode_flags, &fepriv->delay, &s);
 
-                               if (s != fepriv->status) {
+                               if (s != fepriv->status && 
!(fepriv->tune_mode_flags & FE_TUNE_MODE_ONESHOT)) {
                                        dprintk("%s: state changed, adding 
current state\n", __func__);
                                        dvb_frontend_add_event(fe, s);
                                        fepriv->status = s;


---

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

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to