Skip to content

Commit

Permalink
s5c73m3: print s_ctrl and g_ctrl values
Browse files Browse the repository at this point in the history
Change-Id: I6528dbc927af129510df9e5857acb1177f5ed0d7
  • Loading branch information
codeworkx committed Feb 23, 2013
1 parent 08b5204 commit 6974a50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/media/video/s5c73m3.c
Expand Up @@ -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)) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6974a50

Please sign in to comment.