From patchwork Wed Mar 6 13:15:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Kumar K X-Patchwork-Id: 2225531 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 1D4413FC8A for ; Wed, 6 Mar 2013 12:56:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753553Ab3CFM40 (ORCPT ); Wed, 6 Mar 2013 07:56:26 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:41104 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752803Ab3CFM40 (ORCPT ); Wed, 6 Mar 2013 07:56:26 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ80028EP9PJHW0@mailout4.samsung.com> for linux-media@vger.kernel.org; Wed, 06 Mar 2013 21:56:24 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id DB.46.23273.8FC37315; Wed, 06 Mar 2013 21:56:24 +0900 (KST) X-AuditID: cbfee691-b7faa6d000005ae9-f6-51373cf86d44 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3B.D8.03918.8FC37315; Wed, 06 Mar 2013 21:56:24 +0900 (KST) Received: from chrome-ubuntu.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MJ800A8OP8EHQ90@mmp1.samsung.com> for linux-media@vger.kernel.org; Wed, 06 Mar 2013 21:56:24 +0900 (KST) From: Arun Kumar K To: linux-media@vger.kernel.org Cc: k.debski@samsung.com, jtp.park@samsung.com, s.nawrocki@samsung.com, arun.kk@samsung.com Subject: [PATCH] [media] s5p-mfc: Fix encoder control 15 issue Date: Wed, 06 Mar 2013 08:15:57 -0500 Message-id: <1362575757-22839-1-git-send-email-arun.kk@samsung.com> X-Mailer: git-send-email 1.8.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsWyRsSkRveHjXmgwYQLhhY9G7ayOjB6fN4k F8AYxWWTkpqTWZZapG+XwJXRuXUJY8FL1oq7q3YxNzA+Yeli5OSQEDCRuH/mOSuELSZx4d56 ti5GLg4hgaWMEk8u/WWCKfrzsYsdIrGIUeLRzaVQVWuZJOYtawZrZxPQkLh34jGYLSIgL/Gk 9wYbiM0sECvx7ddfsLiwgJ3EjdZ2ZhCbRUBVovPeKrAaXgFniYn/PrFBbJOT+LDnEdg2CYEt bBIn5k9khGgQkPg2+RDQ3RxACVmJTQeYIeolJQ6uuMEygVFwASPDKkbR1ILkguKk9CJTveLE 3OLSvHS95PzcTYzAoDr979nEHYz3D1gfYkwGGjeRWUo0OR8YlHkl8YbGJuamxqZmRpaWlqak CSuJ88pfkgkUEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwJhd9sXq5ZoFzKy7PBxYItJP7ewO eXh1g6n9k/zzF66t67ygPekdywyH/KeKXrO55hXtetv48Lxac3Nf/Cbu0LfF5/dvtNFmnOH/ 3ePzw+YQbR5/LfWdaZ0/G2sk+fjvrSy5rehxrvynzRTeoEIn3vOtfWx7Lx/qm225O3J+5yXr J8vUD9x8barEUpyRaKjFXFScCAA2QUFCQAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xgO4PG/NAg017VCx6NmxldWD0+LxJ LoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYxo3PrEsaCl6wVd1ftYm5g fMLSxcjJISFgIvHnYxc7hC0mceHeerYuRi4OIYFFjBKPbi6FctYyScxb1swKUsUmoCFx78Rj MFtEQF7iSe8NNhCbWSBW4tuvv2BxYQE7iRut7cwgNouAqkTnvVVgNbwCzhIT/31ig9gmJ/Fh zyP2CYzcCxgZVjGKphYkFxQnpeca6hUn5haX5qXrJefnbmIEh+wzqR2MKxssDjEKcDAq8fBa KJkFCrEmlhVX5h5ilOBgVhLhLTI2DxTiTUmsrEotyo8vKs1JLT7EmAy0fSKzlGhyPjCe8kri DY1NzE2NTS1NLEzMLEkTVhLnZTz1JEBIID2xJDU7NbUgtQhmCxMHp1QD45pJZ0zlVRxvt0yc ZbPuQ63Y4ekP3V/ffr6Fw8zjidn/CJdSTr77fznrWG7enn+1NEzWqqSo6nu7c7So48z+Qs7Z GrMvTE09eLg/7fDxnkc+7BeeaXfPTS4PPLb8deKiKoV2iYkcLwXc1vhN2bDBx3O+7Kxp/cer qxMfzcpsqvXJS97j+Ea9WomlOCPRUIu5qDgRAH2mAl2dAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 1 + 1 file changed, 1 insertion(+) 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, }, {