[media] cx88: don't pollute the kernel log
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 29 Aug 2014 08:50:26 +0000 (05:50 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 10:31:01 +0000 (08:31 -0200)
There is no reason to dump the sram code to the kernel log when you
stop streaming. Remove those calls to cx88_sram_channel_dump.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx88/cx88-vbi.c
drivers/media/pci/cx88/cx88-video.c

index 4e0747a6a9c2f41f44aa14cdb97dc3b68cf622e6..042f54597a9bfa4ad46d2af3e9a344dfadaf5bf2 100644 (file)
@@ -203,8 +203,6 @@ static void stop_streaming(struct vb2_queue *q)
        struct cx88_dmaqueue *dmaq = &dev->vbiq;
        unsigned long flags;
 
-       cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]);
-
        cx_clear(MO_VID_DMACNTRL, 0x11);
        cx_clear(VID_CAPTURE_CONTROL, 0x06);
        cx8800_stop_vbi_dma(dev);
index a74e21dd4aad9d59787b73b638bbc6f02d7556dd..85c3d0c4df97a15c2067cdec1128d3cfd2057af1 100644 (file)
@@ -563,8 +563,6 @@ static void stop_streaming(struct vb2_queue *q)
        struct cx88_dmaqueue *dmaq = &dev->vidq;
        unsigned long flags;
 
-       cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]);
-
        cx_clear(MO_VID_DMACNTRL, 0x11);
        cx_clear(VID_CAPTURE_CONTROL, 0x06);
        spin_lock_irqsave(&dev->slock, flags);