2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/drivers/media/platform/s5p-mfc
Hans Verkuil e37559b22c [media] vb2: stop_streaming should return void
The vb2 core ignores any return code from the stop_streaming op.
And there really isn't anything it can do anyway in case of an error.
So change the return type to void and update any drivers that implement it.

The int return gave drivers the idea that this operation could actually
fail, but that's really not the case.

The pwc amd sdr-msi3101 drivers both had this construction:

        if (mutex_lock_interruptible(&s->v4l2_lock))
                return -ERESTARTSYS;

This has been updated to just call mutex_lock(). The stop_streaming op
expects this to really stop streaming and I very much doubt this will
work reliably if stop_streaming just returns without really stopping the
DMA.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-04-23 10:12:51 -03:00
..
Makefile [media] s5p makefiles: don't override other selections on obj-[ym] 2013-06-20 05:46:00 -03:00
regs-mfc-v6.h [media] s5p-mfc: Add Horizontal and Vertical MV Search Range 2014-02-28 15:18:00 -03:00
regs-mfc-v7.h [media] s5p-mfc: Update driver for v7 firmware 2013-08-18 07:12:31 -03:00
regs-mfc.h [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
s5p_mfc_cmd_v5.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
s5p_mfc_cmd_v5.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_cmd_v6.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
s5p_mfc_cmd_v6.h [media] s5p-mfc: Update MFC v4l2 driver to support MFC6.x 2012-10-05 23:08:31 -03:00
s5p_mfc_cmd.c [media] s5p-mfc: Rename IS_MFCV6 macro 2013-08-18 07:08:34 -03:00
s5p_mfc_cmd.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_common.h [media] s5p-mfc: Add Horizontal and Vertical MV Search Range 2014-02-28 15:18:00 -03:00
s5p_mfc_ctrl.c [media] s5p-mfc: remove meaningless memory bank assignment 2014-03-11 10:29:09 -03:00
s5p_mfc_ctrl.h [media] s5p-mfc: Move firmware allocation point to avoid allocation problems 2013-01-06 09:57:57 -02:00
s5p_mfc_debug.h [media] s5p-mfc: added missing end-of-lines in debug messages 2013-06-03 15:56:54 -03:00
s5p_mfc_dec.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s5p_mfc_dec.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_enc.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s5p_mfc_enc.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_intr.c [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_intr.h
s5p_mfc_opr_v5.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
s5p_mfc_opr_v5.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_opr_v6.c [media] s5p-mfc: Add Horizontal and Vertical MV Search Range 2014-02-28 15:18:00 -03:00
s5p_mfc_opr_v6.h [media] s5p-mfc: Update MFC v4l2 driver to support MFC6.x 2012-10-05 23:08:31 -03:00
s5p_mfc_opr.c [media] s5p-mfc: Rename IS_MFCV6 macro 2013-08-18 07:08:34 -03:00
s5p_mfc_opr.h [media] s5p-mfc: Change internal buffer allocation from vb2 ops to dma_alloc_coherent 2013-01-06 09:59:02 -02:00
s5p_mfc_pm.c [media] s5p-mfc: added missing end-of-lines in debug messages 2013-06-03 15:56:54 -03:00
s5p_mfc_pm.h
s5p_mfc.c [media] s5p-mfc: Replaced commas with semicolons 2014-03-11 10:28:49 -03:00