From 6974a50b47c896d59938ca5cf45f3412e28f5bfc Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 23 Feb 2013 16:49:26 +0000 Subject: s5c73m3: print s_ctrl and g_ctrl values Change-Id: I6528dbc927af129510df9e5857acb1177f5ed0d7 --- drivers/media/video/s5c73m3.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/video/s5c73m3.c b/drivers/media/video/s5c73m3.c index b8d3574..1aa495c 100644 --- a/drivers/media/video/s5c73m3.c +++ b/drivers/media/video/s5c73m3.c @@ -2407,7 +2407,7 @@ static int s5c73m3_s_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl) struct s5c73m3_state *state = to_state(sd); int err = 0; - printk(KERN_INFO "id %d, value %d\n", + printk(KERN_INFO "s5c73m3_s_ctrl: id %d, value %d\n", ctrl->id - V4L2_CID_PRIVATE_BASE, ctrl->value); if (unlikely(state->isp.bad_fw && ctrl->id != V4L2_CID_CAM_UPDATE_FW)) { @@ -2596,6 +2596,9 @@ static int s5c73m3_g_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl) { int err = 0; + printk(KERN_INFO "s5c73m3_g_ctrl: id %d, value %d\n", + ctrl->id - V4L2_CID_PRIVATE_BASE, ctrl->value); + switch (ctrl->id) { case V4L2_CID_CAMERA_CAPTURE: err = s5c73m3_get_pre_flash(sd, ctrl); -- cgit v1.1