V4L/DVB (13779): [Mantis] Missing wakeup for write queue
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:30:33 +0000 (05:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:40 +0000 (11:55 -0200)
Thanks to Sigmund for pointing it out

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_pci.c

index f57e2a43b9ed74a726101051b81830a6d708a171..a068ffb32534dbd37662a48a3120758544621ea0 100644 (file)
@@ -89,6 +89,7 @@ static irqreturn_t mantis_pci_irq(int irq, void *dev_id)
        if (stat & MANTIS_INT_IRQ0) {
                dprintk(verbose, MANTIS_DEBUG, 0, "* INT IRQ-0 *");
                mantis->gpif_status = rst_stat;
+               wake_up(&ca->hif_write_wq);
                schedule_work(&ca->hif_evm_work);
        }
        if (stat & MANTIS_INT_IRQ1) {