V4L/DVB (13758): [Mantis CA] CAM_CONTROL: Use CAMREADY_IRQ event
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
bb928a7a21
commit
2ec9b00bd0
@@ -85,6 +85,7 @@ static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
|
|||||||
udelay(500);
|
udelay(500);
|
||||||
mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */
|
mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */
|
||||||
msleep(1000);
|
msleep(1000);
|
||||||
|
dvb_ca_en50221_camready_irq(&ca->en50221, 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -82,10 +82,7 @@ static void mantis_hifevm_work(struct work_struct *work)
|
|||||||
|
|
||||||
if (gpif_stat & MANTIS_SBUF_OPDONE) {
|
if (gpif_stat & MANTIS_SBUF_OPDONE) {
|
||||||
dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer operation complete", mantis->num);
|
dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer operation complete", mantis->num);
|
||||||
if (ca->hif_job_queue) {
|
|
||||||
wake_up(&ca->hif_opdone_wq);
|
|
||||||
ca->hif_event = MANTIS_SBUF_OPDONE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user