]> 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)
commit239bd0345bbc50de2558eeb4692279238a24444a
tree8d1b771d54f3e0102b6f97cb845422ad5ebf92c9
parent24b99ca0674844b45aeecb1671bb6b44ca1c4e62
[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