[media] cx23885: Avoid stopping the risc engine during buffer timeout
authorSteven Toth <stoth@kernellabs.com>
Mon, 10 Oct 2011 14:09:56 +0000 (11:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Oct 2011 20:22:14 +0000 (17:22 -0300)
1. Removed the verbose 'dump channel state to console', very noisy in
   weak signal conditions.
2. No need for the video buffer timeout to stop the risc engine here.
   Clearer and easier to maintain if start_video_dma() is the single
   place that this is done.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-video.c

index 65b1bd2fc4e86b86940e289f91534f6c5c632569..19900c66b79934be38207e231ffc4403cdaf84c7 100644 (file)
@@ -1510,10 +1510,6 @@ static void cx23885_vid_timeout(unsigned long data)
        struct cx23885_buffer *buf;
        unsigned long flags;
 
-       cx23885_sram_channel_dump(dev, &dev->sram_channels[SRAM_CH01]);
-
-       cx_clear(VID_A_DMA_CTL, 0x11);
-
        spin_lock_irqsave(&dev->slock, flags);
        while (!list_empty(&q->active)) {
                buf = list_entry(q->active.next,