Commit e86a93dc authored by Andy Walls's avatar Andy Walls Committed by Mauro Carvalho Chehab

V4L/DVB (9132): cx18: Fix warning message for DMA done notification for inactive stream.

cx18: Fix warning message for DMA done notification for inactive stream.  The
warning message would always gripe that the radio stream was to blame, which
was misleading and wrong (/dev/radioN nodes never transfer data).
Signed-off-by: default avatarAndy Walls <awalls@radix.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9eee4fb6
...@@ -49,8 +49,8 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_mailbox *mb) ...@@ -49,8 +49,8 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_mailbox *mb)
break; break;
} }
if (i == CX18_MAX_STREAMS) { if (i == CX18_MAX_STREAMS) {
CX18_WARN("DMA done for unknown handle %d for stream %s\n", CX18_WARN("Got DMA done notification for unknown/inactive"
handle, s->name); " handle %d\n", handle);
mb->error = CXERR_NOT_OPEN; mb->error = CXERR_NOT_OPEN;
mb->cmd = 0; mb->cmd = 0;
cx18_mb_ack(cx, mb); cx18_mb_ack(cx, mb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment