summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-mfc
diff options
context:
space:
mode:
authorArun Kumar K <arun.kk@samsung.com>2013-03-06 13:15:57 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 22:24:38 +0100
commit053e09f319c25fb9c698ad56b9b65058939ec6ef (patch)
tree785fa790ea863f8cdefb123f260f7144e156698b /drivers/media/platform/s5p-mfc
parent[media] s5p-mfc: Fix frame skip bug (diff)
downloadlinux-053e09f319c25fb9c698ad56b9b65058939ec6ef.tar.xz
linux-053e09f319c25fb9c698ad56b9b65058939ec6ef.zip
[media] s5p-mfc: Fix encoder control 15 issue
mfc-encoder is not working in the latest kernel giving the erorr "Adding control (15) failed". Adding the missing step parameter in this control to fix the issue. Signed-off-by: Arun Kumar K <arun.kk@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc')
-rw-r--r--drivers/media/platform/s5p-mfc/s5p_mfc_enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
index 2356fd52a169..4f6b553c4b2d 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
@@ -232,6 +232,7 @@ static struct mfc_control controls[] = {
.minimum = 0,
.maximum = 1,
.default_value = 0,
+ .step = 1,
.menu_skip_mask = 0,
},
{