diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-08-29 04:50:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-03 05:31:01 -0500 |
commit | d386259f8ee95d260ecb99aad3afc434819491ec (patch) | |
tree | f96a8e616ba90e53678428db18a9199d18b7d853 /drivers/media/pci | |
parent | b8f884164bdfbcecf61e891b52d8a03fec9ed461 (diff) |
[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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/cx88/cx88-vbi.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/cx88/cx88-video.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/pci/cx88/cx88-vbi.c b/drivers/media/pci/cx88/cx88-vbi.c index 4e0747a6a9c2..042f54597a9b 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) | |||
203 | struct cx88_dmaqueue *dmaq = &dev->vbiq; | 203 | struct cx88_dmaqueue *dmaq = &dev->vbiq; |
204 | unsigned long flags; | 204 | unsigned long flags; |
205 | 205 | ||
206 | cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]); | ||
207 | |||
208 | cx_clear(MO_VID_DMACNTRL, 0x11); | 206 | cx_clear(MO_VID_DMACNTRL, 0x11); |
209 | cx_clear(VID_CAPTURE_CONTROL, 0x06); | 207 | cx_clear(VID_CAPTURE_CONTROL, 0x06); |
210 | cx8800_stop_vbi_dma(dev); | 208 | cx8800_stop_vbi_dma(dev); |
diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c index a74e21dd4aad..85c3d0c4df97 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) | |||
563 | struct cx88_dmaqueue *dmaq = &dev->vidq; | 563 | struct cx88_dmaqueue *dmaq = &dev->vidq; |
564 | unsigned long flags; | 564 | unsigned long flags; |
565 | 565 | ||
566 | cx88_sram_channel_dump(core, &cx88_sram_channels[SRAM_CH21]); | ||
567 | |||
568 | cx_clear(MO_VID_DMACNTRL, 0x11); | 566 | cx_clear(MO_VID_DMACNTRL, 0x11); |
569 | cx_clear(VID_CAPTURE_CONTROL, 0x06); | 567 | cx_clear(VID_CAPTURE_CONTROL, 0x06); |
570 | spin_lock_irqsave(&dev->slock, flags); | 568 | spin_lock_irqsave(&dev->slock, flags); |