From: Hans Verkuil <hans.verk...@cisco.com>

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.verk...@cisco.com>
---
 drivers/media/pci/cx88/cx88-vbi.c   | 2 --
 drivers/media/pci/cx88/cx88-video.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/media/pci/cx88/cx88-vbi.c 
b/drivers/media/pci/cx88/cx88-vbi.c
index 4e0747a..042f545 100644
--- a/drivers/media/pci/cx88/cx88-vbi.c
+++ b/drivers/media/pci/cx88/cx88-vbi.c
@@ -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);
diff --git a/drivers/media/pci/cx88/cx88-video.c 
b/drivers/media/pci/cx88/cx88-video.c
index a74e21d..85c3d0c 100644
--- a/drivers/media/pci/cx88/cx88-video.c
+++ b/drivers/media/pci/cx88/cx88-video.c
@@ -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);
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to