Commit d386259f authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] cx88: don't pollute the kernel log

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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent b8f88416
...@@ -203,8 +203,6 @@ static void stop_streaming(struct vb2_queue *q) ...@@ -203,8 +203,6 @@ static void stop_streaming(struct vb2_queue *q)
struct cx88_dmaqueue *dmaq = &dev->vbiq; struct cx88_dmaqueue *dmaq = &dev->vbiq;
unsigned long flags; unsigned long flags;
cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]);
cx_clear(MO_VID_DMACNTRL, 0x11); cx_clear(MO_VID_DMACNTRL, 0x11);
cx_clear(VID_CAPTURE_CONTROL, 0x06); cx_clear(VID_CAPTURE_CONTROL, 0x06);
cx8800_stop_vbi_dma(dev); cx8800_stop_vbi_dma(dev);
......
...@@ -563,8 +563,6 @@ static void stop_streaming(struct vb2_queue *q) ...@@ -563,8 +563,6 @@ static void stop_streaming(struct vb2_queue *q)
struct cx88_dmaqueue *dmaq = &dev->vidq; struct cx88_dmaqueue *dmaq = &dev->vidq;
unsigned long flags; unsigned long flags;
cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]);
cx_clear(MO_VID_DMACNTRL, 0x11); cx_clear(MO_VID_DMACNTRL, 0x11);
cx_clear(VID_CAPTURE_CONTROL, 0x06); cx_clear(VID_CAPTURE_CONTROL, 0x06);
spin_lock_irqsave(&dev->slock, flags); spin_lock_irqsave(&dev->slock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment