]> git.baikalelectronics.ru Git - kernel.git/commit
[media] 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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:54 +0000 (12:44 -0300)
commit8609664154acec4ab45434aa11e6c779fc1798ed
tree8d1b771d54f3e0102b6f97cb845422ad5ebf92c9
parent158475b3c0376f32ad0267f5fe775759323731a4
[media] 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>
drivers/media/platform/vsp1/vsp1_regs.h
drivers/media/platform/vsp1/vsp1_sru.c
drivers/media/platform/vsp1/vsp1_sru.h