forked from Minki/linux
staging: atomisp: fix missing break in switch statement
I believe there is a missing break in the switch statement for case V4L2_CID_FOCUS_STATUS as the current fall-through looks suspect to me. Detected by CoverityScan, CID#1416580 ("Missing break in switch") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
03028868eb
commit
9e7b319e1d
@ -1132,7 +1132,7 @@ static int ov5693_g_volatile_ctrl(struct v4l2_ctrl *ctrl)
|
||||
break;
|
||||
case V4L2_CID_FOCUS_STATUS:
|
||||
ret = ov5693_q_focus_status(&dev->sd, &ctrl->val);
|
||||
|
||||
break;
|
||||
case V4L2_CID_BIN_FACTOR_HORZ:
|
||||
ret = ov5693_g_bin_factor_x(&dev->sd, &ctrl->val);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user