Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc0e4aac authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13761): [Mantis] HIF I/O: Temporary workaround, use SBUF_OPDONE flag instead



Dnumgis got hit with this bug, using a temporary workaround
for the time being rather than digging deep at this point.

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 86c75c5c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -68,8 +68,6 @@ static void mantis_hifevm_work(struct work_struct *work)

	if (gpif_stat & MANTIS_GPIF_BRRDY) {
		dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Read Ready", mantis->num);
		ca->sbuf_status = MANTIS_SBUF_DATA_AVAIL;
		dvb_ca_en50221_frda_irq(&ca->en50221, 0);
	}
	if (gpif_stat & MANTIS_GPIF_WRACK)
		dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Slave Write ACK", mantis->num);
@@ -82,7 +80,8 @@ static void mantis_hifevm_work(struct work_struct *work)

	if (gpif_stat & MANTIS_SBUF_OPDONE) {
		dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer operation complete", mantis->num);

		ca->sbuf_status = MANTIS_SBUF_DATA_AVAIL;
		dvb_ca_en50221_frda_irq(&ca->en50221, 0);
	}
}