]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: s5p-mfc: Fix display delay control creation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 23 Apr 2021 20:44:57 +0000 (22:44 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 08:40:04 +0000 (10:40 +0200)
commit1e67a81775cb14614d57c57c4f14944d1202f015
treef49c5a111174345b9ef0e7e9f29062a64e444378
parent4986cb6979bddbb13f93df7019f5a8fa30535151
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: c3042bff918a ("media: s5p-mfc: Use display delay and display enable std controls")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c