v4l: vsp1: sru: Make the intensity controllable during streaming
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 31 May 2014 23:30:11 +0000 (20:30 -0300)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:29 +0000 (09:24 +0900)
commitb32d196c7771aa3d70cf6956d67affca6b237893
tree5a968db4a423a078a476b783b62903b7ff9d46c7
parent26bedd07488dfc94d3271c56d4fb61711cc986c7
v4l: vsp1: sru: Make the intensity controllable during streaming

The control value is currently stored in the SRU structure by the
control set handler and written to the hardware at stream on time,
making control set during streaming ineffective. Fix it by writing to
the registers from within the control set handler.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
(cherry picked from commit 58f896d859ce555dd3684f439f8a65bfda437533)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/media/platform/vsp1/vsp1_regs.h
drivers/media/platform/vsp1/vsp1_sru.c
drivers/media/platform/vsp1/vsp1_sru.h