summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_sru.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-31 20:30:11 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 12:44:54 -0300
commit58f896d859ce555dd3684f439f8a65bfda437533 (patch)
tree8d1b771d54f3e0102b6f97cb845422ad5ebf92c9 /drivers/media/platform/vsp1/vsp1_sru.h
parenta1606102dafe6942905e97a88ceea9a60e1a2c7d (diff)
[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>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_sru.h')
-rw-r--r--drivers/media/platform/vsp1/vsp1_sru.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_sru.h b/drivers/media/platform/vsp1/vsp1_sru.h
index 381870b74780..b6768bf3dc47 100644
--- a/drivers/media/platform/vsp1/vsp1_sru.h
+++ b/drivers/media/platform/vsp1/vsp1_sru.h
@@ -28,7 +28,6 @@ struct vsp1_sru {
struct vsp1_entity entity;
struct v4l2_ctrl_handler ctrls;
- unsigned int intensity;
};
static inline struct vsp1_sru *to_sru(struct v4l2_subdev *subdev)