Skip to content

Commit 61c6f04

Browse files
mszyprowmchehab
authored andcommitted
media: s5p-mfc: Fix display delay control creation
v4l2_ctrl_new_std() fails if the caller provides no 'step' parameter for integer control, so define it to fix following error: s5p_mfc_dec_ctrls_setup:1166: Adding control (1) failed Fixes: c3042bf ("media: s5p-mfc: Use display delay and display enable std controls") Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 1142074 commit 61c6f04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/media/platform/s5p-mfc/s5p_mfc_dec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ static struct mfc_control controls[] = {
172172
.type = V4L2_CTRL_TYPE_INTEGER,
173173
.minimum = 0,
174174
.maximum = 16383,
175+
.step = 1,
175176
.default_value = 0,
176177
},
177178
{

0 commit comments

Comments
 (0)