diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2013-02-23 16:49:26 +0000 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2013-02-23 16:55:46 +0000 |
commit | 6974a50b47c896d59938ca5cf45f3412e28f5bfc (patch) | |
tree | 5bc901118b6953a189789054aa0901d46f2c468b | |
parent | 08b52043d9dcaab43106c2d60fa3bb16f3c9343c (diff) | |
download | kernel_samsung_smdk4412-6974a50b47c896d59938ca5cf45f3412e28f5bfc.zip kernel_samsung_smdk4412-6974a50b47c896d59938ca5cf45f3412e28f5bfc.tar.gz kernel_samsung_smdk4412-6974a50b47c896d59938ca5cf45f3412e28f5bfc.tar.bz2 |
s5c73m3: print s_ctrl and g_ctrl values
Change-Id: I6528dbc927af129510df9e5857acb1177f5ed0d7
-rw-r--r-- | drivers/media/video/s5c73m3.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |