summaryrefslogtreecommitdiff
path: root/drivers/mcb
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-08-05 16:57:35 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-19 09:24:32 -0200
commit3dbb6100146666df45ef83d1552d4da097c60f72 (patch)
tree3e2f11a6d74068372660f44d4f1f8a3d71e99247 /drivers/mcb
parent96bfa6a5fd1dc5a7f2b5cd6f58bdcf1501146d17 (diff)
[media] v4l: vsp1: Set the alpha value manually in RPF and WPF s_stream handlers
The RPF and WPF alpha values are set through V4L2 controls and applied when starting the video stream by a call to v4l2_ctrl_handler_setup(). As that function uses the control handler mutex it can't be called in interrupt context, where the VSP+DU pipeline handler might need to reconfigure the pipeline. Set the alpha value manually in the RPF and WPF s_stream handler to ensure that the hardware is properly configured even when controlled without the userspace API. If the userspace API is enabled protect that with the control lock to avoid race conditions with userspace. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions