linux-hardened/drivers/media/platform/omap3isp
Sylwester Nawrocki 813f5c0ac5 [media] media: Change media device link_notify behaviour
Currently the media device link_notify callback is invoked before the
actual change of state of a link when the link is being enabled, and
after the actual change of state when the link is being disabled.
This doesn't allow a media device driver to perform any operations
on a full graph before a link is disabled, as well as performing
any tasks on a modified graph right after a link's state is changed.
This patch modifies signature of the link_notify callback. This
callback is now called always before and after a link's state change.
To distinguish the notifications a 'notification' argument is added
to the link_notify callback: MEDIA_DEV_NOTIFY_PRE_LINK_CH indicates
notification before link's state change and
MEDIA_DEV_NOTIFY_POST_LINK_CH corresponds to a notification after
link flags change.

[mchehab@redhat.com: whitespace cleanups]
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-12 22:16:27 -03:00
..
cfa_coef_table.h
gamma_table.h
isp.c [media] media: Change media device link_notify behaviour 2013-06-12 22:16:27 -03:00
isp.h [media] omap3isp: Use the common clock framework 2013-04-14 20:21:12 -03:00
ispccdc.c [media] media: Rename media_entity_remote_source to media_entity_remote_pad 2013-06-08 21:47:11 -03:00
ispccdc.h
ispccp2.c [media] omap3isp: ccp2: Don't ignore the regulator_enable() return value 2013-06-12 18:51:53 -03:00
ispccp2.h
ispcsi2.c [media] media: Rename media_entity_remote_source to media_entity_remote_pad 2013-06-08 21:47:11 -03:00
ispcsi2.h
ispcsiphy.c [media] omap3isp: csiphy: Fix an uninitialized variable compiler warning 2012-12-27 17:35:11 -02:00
ispcsiphy.h [media] omap3isp: Configure CSI-2 phy based on platform data 2012-11-28 10:45:14 -02:00
isph3a.h
isph3a_aewb.c [media] omap3isp: Use devm_* managed functions 2013-02-05 14:49:17 -02:00
isph3a_af.c [media] omap3isp: Use devm_* managed functions 2013-02-05 14:49:17 -02:00
isphist.c [media] omap3isp: Fix histogram regions 2013-02-05 14:50:49 -02:00
isphist.h
isppreview.c [media] omap3isp: preview: Lower the crop margins 2013-02-05 14:45:29 -02:00
isppreview.h
ispqueue.c [media] omap3isp: ispqueue: Fix uninitialized variable compiler warnings 2012-12-27 18:21:49 -02:00
ispqueue.h [media] omap3isp: include linux/mm_types.h 2013-06-12 18:19:43 -03:00
ispreg.h [media] omap3isp: Add PHY routing configuration 2012-11-28 10:39:40 -02:00
ispresizer.c
ispresizer.h
ispstat.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispstat.h Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispvideo.c [media] media: Rename media_entity_remote_source to media_entity_remote_pad 2013-06-08 21:47:11 -03:00
ispvideo.h
luma_enhance_table.h
Makefile
noise_filter_table.h