linux-hardened/drivers/media/platform/exynos4-is
Sylwester Nawrocki 4403106d5c [media] exynos4-is: Preserve state of controls between /dev/video open/close
This patch moves the code for inheriting subdev v4l2 controls on the
FIMC video capture nodes from open()/close() fops to the link setup
notification callback. This allows for the state of the FIMC controls
to be always kept, in opposite to the current situation when it is
lost when last process closes video device.
There is no visible change for the original V4L2 compliant interface.
For the MC aware applications (user_subdev_api == true) inheriting
of the controls is dropped, since there can be same controls on the
subdevs withing single pipeline, now when the ISP (FIMC-IS) is also
used.
This patch is a prerequisite to allow /dev/video device to be opened
without errors even if there is no media links connecting it to an
image source (sensor) subdev. This is required for a libv4l2 plugin
to be initialized while a video node is opened and it also should be
possible to always open the device to query the capabilities.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-12 21:55:14 -03:00
..
common.c [media] exynos4-is: Move common functions to a separate module 2013-06-12 21:52:40 -03:00
common.h [media] exynos4-is: Move common functions to a separate module 2013-06-12 21:52:40 -03:00
fimc-capture.c [media] exynos4-is: Preserve state of controls between /dev/video open/close 2013-06-12 21:55:14 -03:00
fimc-core.c [media] exynos4-is: Fix driver name reported in vidioc_querycap 2013-04-25 09:38:04 -03:00
fimc-core.h [media] exynos4-is: Preserve state of controls between /dev/video open/close 2013-06-12 21:55:14 -03:00
fimc-is-command.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.c [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-i2c.c [media] exynos4-is: Staticize local symbols 2013-06-12 21:52:03 -03:00
fimc-is-i2c.h [media] exynos4-is: Add FIMC-IS ISP I2C bus driver 2013-04-04 20:04:49 -03:00
fimc-is-param.c [media] exynos4-is: Staticize local symbols 2013-06-12 21:52:03 -03:00
fimc-is-param.h [media] exynos4-is: Improve the ISP chain parameter count calculation 2013-04-14 15:50:31 -03:00
fimc-is-regs.c [media] exynos4-is: Rename the ISP chain configuration data structure 2013-04-14 15:51:56 -03:00
fimc-is-regs.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-sensor.c [media] exynos4-is: Don't overwrite subdevdata in the fimc-is sensor driver 2013-04-25 09:35:43 -03:00
fimc-is-sensor.h [media] exynos4-is: Don't overwrite subdevdata in the fimc-is sensor driver 2013-04-25 09:35:43 -03:00
fimc-is.c [media] exynos4-is: Staticize local symbols 2013-06-12 21:52:03 -03:00
fimc-is.h [media] exynos4-is: Rename the ISP chain configuration data structure 2013-04-14 15:51:56 -03:00
fimc-isp.c [media] exynos4-is: Fix initialization of subdev 'flags' field 2013-04-25 09:35:03 -03:00
fimc-isp.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-lite-reg.c [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
fimc-lite-reg.h [media] exynos4-is: Allow colorspace conversion at FIMC-LITE 2013-04-04 20:23:24 -03:00
fimc-lite.c [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
fimc-lite.h [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
fimc-m2m.c [media] exynos4-is: Copy timestamps from M2M OUTPUT to CAPTURE buffer queue 2013-04-25 09:38:48 -03:00
fimc-reg.c [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
fimc-reg.h [media] exynos4-is: Correct input DMA YUV order configuration 2013-04-04 20:23:53 -03:00
Kconfig [media] exynos4-is: Move common functions to a separate module 2013-06-12 21:52:40 -03:00
Makefile [media] exynos4-is: Move common functions to a separate module 2013-06-12 21:52:40 -03:00
media-dev.c [media] exynos4-is: Preserve state of controls between /dev/video open/close 2013-06-12 21:55:14 -03:00
media-dev.h [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
mipi-csis.c [media] exynos4-is: Fix TRY format propagation at MIPI-CSIS subdev 2013-04-25 09:38:23 -03:00
mipi-csis.h