2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 17:14:00 +08:00
linux-next/drivers/media
Shaik Ameer Basha fea564a5f6 [media] v4l2-mem2mem: clear m2m context from job_queue before ctx streamoff
When streamoff is called on the context and the context
is added to the job_queue,
1] sometimes device_run receives the empty vb2 buffers (as
   v4l2_m2m_streamoff is dropping the ready queue).
2] sometimes v4l2_m2m_job_finish may not succeed as the m2m_dev->curr_ctx
   is made NULL in the v4l2_m2m_streamoff()
The above points may stop the execution of the other queued contexts.
This patch makes sure that before streamoff is executed on any context,
that context should "not be running" or "not queued" in the job_queue.
1] If the current context is running, then abort job will be called.
2] If the current context is queued, then the context will be removed from
   the job_queue.

Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-08-24 04:04:41 -03:00
..
common [media] siano: fix divide error on 0 counters 2013-08-22 12:06:30 -03:00
dvb-core [media] dib0700: add support for PCTV 2002e & PCTV 2002e SE 2013-07-22 07:48:11 -03:00
dvb-frontends [media] mb86a20s: Fix TS parallel mode 2013-08-22 12:06:29 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] smiapp: Call the clock "ext_clk" 2013-08-22 11:39:12 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] bw-qcam: fix timestamp handling 2013-05-27 09:30:19 -03:00
pci [media] cx23885: Add DTV support for Mygica X8502/X8507 boards 2013-08-22 12:06:30 -03:00
platform [media] media/v4l2: VIDEO_SH_VEU should depend on HAS_DMA 2013-08-23 05:46:08 -03:00
radio [media] radio-si470x-usb: Remove software version check 2013-08-21 05:18:05 -03:00
rc [media] media: rc: rdev->open or rdev->close can be NULL 2013-08-23 05:41:23 -03:00
tuners [media] e4000: change remaining pr_warn to dev_warn 2013-08-18 07:52:53 -03:00
usb [media] cx231xx: Add support for KWorld UB445-U 2013-08-23 05:42:33 -03:00
v4l2-core [media] v4l2-mem2mem: clear m2m context from job_queue before ctx streamoff 2013-08-24 04:04:41 -03:00
Kconfig [media] Fix build when drivers are builtin and frontend modules 2013-06-20 10:35:53 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in __media_device_enum_links() 2013-06-12 18:52:45 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Add support for circular graph traversal 2013-08-18 07:16:48 -03:00