Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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);
+0 −2
Original line number Original line Diff line number Diff line
@@ -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);