diff options
Diffstat (limited to 'drivers/media/video/v4l2-ctrls.c')
-rw-r--r-- | drivers/media/video/v4l2-ctrls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index babfb13dc7f2..b6a2ee71e5c3 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c | |||
@@ -2121,7 +2121,7 @@ static int prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, | |||
2121 | 2121 | ||
2122 | /* First zero the helper field in the master control references */ | 2122 | /* First zero the helper field in the master control references */ |
2123 | for (i = 0; i < cs->count; i++) | 2123 | for (i = 0; i < cs->count; i++) |
2124 | helpers[i].mref->helper = 0; | 2124 | helpers[i].mref->helper = NULL; |
2125 | for (i = 0, h = helpers; i < cs->count; i++, h++) { | 2125 | for (i = 0, h = helpers; i < cs->count; i++, h++) { |
2126 | struct v4l2_ctrl_ref *mref = h->mref; | 2126 | struct v4l2_ctrl_ref *mref = h->mref; |
2127 | 2127 | ||