V4L/DVB (9132): cx18: Fix warning message for DMA done notification for inactive...
authorAndy Walls <awalls@radix.net>
Sat, 4 Oct 2008 22:09:41 +0000 (19:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:16 +0000 (09:37 -0200)
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: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-irq.c

index 55a50a2b048d7dcf6061ba1f575d93f3ef8f045e..360330f5463f9ce985d4e835d84d9b5e12536b6d 100644 (file)
@@ -49,8 +49,8 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_mailbox *mb)
                        break;
        }
        if (i == CX18_MAX_STREAMS) {
-               CX18_WARN("DMA done for unknown handle %d for stream %s\n",
-                       handle, s->name);
+               CX18_WARN("Got DMA done notification for unknown/inactive"
+                         " handle %d\n", handle);
                mb->error = CXERR_NOT_OPEN;
                mb->cmd = 0;
                cx18_mb_ack(cx, mb);