diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-18 07:27:50 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-18 07:27:50 -0200 |
commit | bf795fdb460dc7a6726f60f46d3f934ac83e9ad3 (patch) | |
tree | 4e0a87073054d14d1ac51731d1b190e39be76306 /linux/drivers/media/dvb/dvb-core | |
parent | afa40a80ec7ad439b805d50be5c10a90b776b6fe (diff) | |
download | mediapointer-dvb-s2-bf795fdb460dc7a6726f60f46d3f934ac83e9ad3.tar.gz mediapointer-dvb-s2-bf795fdb460dc7a6726f60f46d3f934ac83e9ad3.tar.bz2 |
dvb-core: don't add an event when in ONE SHOT mode for algo type HW
From: Darron Broad <darron@kewl.org>
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 <darron@kewl.org>
CC: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index e7adf9f47..d1a9e587c 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -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; |