summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-08-12 17:14:37 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 05:15:08 +0200
commit39e469ab6dee0977a6fb632c711fba1ec5fca401 (patch)
tree5b68506d3b860fcff958fe865a4b51c068a39df3 /drivers/media/video/saa7164/saa7164-core.c
parentV4L/DVB (12939): SAA7164: Removed a duplicate call to address any PCI quirks. (diff)
downloadlinux-39e469ab6dee0977a6fb632c711fba1ec5fca401.tar.xz
linux-39e469ab6dee0977a6fb632c711fba1ec5fca401.zip
V4L/DVB (12940): SAA7164: IRQ / message timeout related change
In some cases we're seeing large timeouts on commands. I'm changing the implementation so that the deferred worker checks the PCI bus for any messages and signals the waiting caller accordingly. The previous mechanism was too unreliable. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-core.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-core.c b/drivers/media/video/saa7164/saa7164-core.c
index 3753b52e0294..e878fbcbb1eb 100644
--- a/drivers/media/video/saa7164/saa7164-core.c
+++ b/drivers/media/video/saa7164/saa7164-core.c
@@ -69,7 +69,7 @@ static void saa7164_work_cmdhandler(struct work_struct *w)
struct saa7164_dev *dev = container_of(w, struct saa7164_dev, workcmd);
/* Wake up any complete commands */
- saa7164_cmd_signal(dev, 0);
+ saa7164_irq_dequeue(dev);
}
static void saa7164_buffer_deliver(struct saa7164_buffer *buf)