summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Kumar K <arun.kk@samsung.com>2013-03-06 12:15:57 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 21:24:38 (GMT)
commit053e09f319c25fb9c698ad56b9b65058939ec6ef (patch)
tree785fa790ea863f8cdefb123f260f7144e156698b
parent90c0ae50097bba165022ddf0a592aa4001e23aaa (diff)
downloadlinux-fsl-qoriq-053e09f319c25fb9c698ad56b9b65058939ec6ef.tar.xz
[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>
-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 2356fd5..4f6b553 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,
},
{