aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-10-04 18:09:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:16 -0400
commite86a93dc3c870c412592c1f298c1425d80c58c6e (patch)
tree72755cea2f2258c026c57fa54d36c9217b4f0ec7
parent9eee4fb69ecbe6a8a25378e801a3621ef0146fa3 (diff)
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: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx18/cx18-irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-irq.c b/drivers/media/video/cx18/cx18-irq.c
index 55a50a2b048d..360330f5463f 100644
--- a/drivers/media/video/cx18/cx18-irq.c
+++ b/drivers/media/video/cx18/cx18-irq.c
@@ -49,8 +49,8 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_mailbox *mb)
49 break; 49 break;
50 } 50 }
51 if (i == CX18_MAX_STREAMS) { 51 if (i == CX18_MAX_STREAMS) {
52 CX18_WARN("DMA done for unknown handle %d for stream %s\n", 52 CX18_WARN("Got DMA done notification for unknown/inactive"
53 handle, s->name); 53 " handle %d\n", handle);
54 mb->error = CXERR_NOT_OPEN; 54 mb->error = CXERR_NOT_OPEN;
55 mb->cmd = 0; 55 mb->cmd = 0;
56 cx18_mb_ack(cx, mb); 56 cx18_mb_ack(cx, mb);