diff options
author | Darron Broad <darron@kewl.org> | 2008-12-18 04:27:50 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:16 -0500 |
commit | 2fac9a0f44d1950abb0e16f5d43f88866962ca3c (patch) | |
tree | 7e94d0cd7bfbd774321bfb79a8d00b92fd4e30a2 /drivers/media | |
parent | 2fd9339664bc18a5345bbd6b855ff58273049f32 (diff) |
V4L/DVB (9916): 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.
Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 00f063abab4d..171f9ca124f7 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c | |||
@@ -580,7 +580,7 @@ restart: | |||
580 | if (fe->ops.tune) | 580 | if (fe->ops.tune) |
581 | fe->ops.tune(fe, params, fepriv->tune_mode_flags, &fepriv->delay, &s); | 581 | fe->ops.tune(fe, params, fepriv->tune_mode_flags, &fepriv->delay, &s); |
582 | 582 | ||
583 | if (s != fepriv->status) { | 583 | if (s != fepriv->status && !(fepriv->tune_mode_flags & FE_TUNE_MODE_ONESHOT)) { |
584 | dprintk("%s: state changed, adding current state\n", __func__); | 584 | dprintk("%s: state changed, adding current state\n", __func__); |
585 | dvb_frontend_add_event(fe, s); | 585 | dvb_frontend_add_event(fe, s); |
586 | fepriv->status = s; | 586 | fepriv->status = s; |