From patchwork Fri Apr 23 20:44:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 426509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44E76C43460 for ; Fri, 23 Apr 2021 20:45:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24A9E6144E for ; Fri, 23 Apr 2021 20:45:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244019AbhDWUp7 (ORCPT ); Fri, 23 Apr 2021 16:45:59 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58584 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244004AbhDWUpw (ORCPT ); Fri, 23 Apr 2021 16:45:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20210423204511euoutp02bf02ff67ba6b89f0103adecb8ff0db87~4l5ARnue60075400754euoutp026 for ; Fri, 23 Apr 2021 20:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20210423204511euoutp02bf02ff67ba6b89f0103adecb8ff0db87~4l5ARnue60075400754euoutp026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1619210711; bh=NBm0xRecla9MrLRvQiuvQHIGm/beN9+oBu9WKwOwc1U=; h=From:To:Cc:Subject:Date:References:From; b=hTn83j/KJh2sfkt7KpJWQ2bGZYXIhZsuBmAg8sxMP2LMKARObYfkrUmIGwyOJSeLS uAnK1rTcj2/TyWtOC2sJioyhOZ5z61out003Rdxgp/ldFwsQQI1nvyxyX/doK4tvsX OTHRQOpTVMzVxxgo2rnzpWYS2Q9U4aewo8DbcgeE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20210423204510eucas1p2841fd539a5ceed73caef5a1436021e7a~4l4-VRtsE0622106221eucas1p2h; Fri, 23 Apr 2021 20:45:10 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id F5.3A.09444.5D133806; Fri, 23 Apr 2021 21:45:09 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210423204509eucas1p16ed651b17a096e10e8beb71d26614f66~4l4_pmVn60215802158eucas1p1k; Fri, 23 Apr 2021 20:45:09 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210423204509eusmtrp2338228e64b0bc4763a8503bf2307c408~4l4_o3iJV2289222892eusmtrp2U; Fri, 23 Apr 2021 20:45:09 +0000 (GMT) X-AuditID: cbfec7f4-dd5ff700000024e4-71-608331d5b4aa Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A5.1F.08705.5D133806; Fri, 23 Apr 2021 21:45:09 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210423204508eusmtip111f37c746fcfdb11535809812d283bea~4l4_IyWHf1797917979eusmtip1L; Fri, 23 Apr 2021 20:45:08 +0000 (GMT) From: Marek Szyprowski To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Andrzej Hajda , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov Subject: [PATCH] media: s5p-mfc: Fix display delay control creation Date: Fri, 23 Apr 2021 22:44:57 +0200 Message-Id: <20210423204457.10300-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNIsWRmVeSWpSXmKPExsWy7djP87pXDZsTDPa9trK4te4cq8XGGetZ LU5NfsZkcf78BnaLng1bWS1mnN/HZLH2yF12i2Wb/jBZtLQdYXLg9Ni0qpPN4861PWwefVtW MXp83iTncerrZ/YA1igum5TUnMyy1CJ9uwSujOd/3zIV/GCrWLllK2MD42vWLkZODgkBE4mJ F/+zdzFycQgJrGCUWHv2BCuE84VR4smFhcwQzmdGiTlNK4AcDrCWwwfKQLqFBJYzSjSeN4Nr WPukmQkkwSZgKNH1tosNxBYRcJJYOOsv2ApmgV1MEn8eXwUrEhZwlug5dZkZxGYRUJU4fHMF O4jNK2Ar8e/HbjaI++QlVm84AHaFhMBUDokVc3eyQyRcJNr+n2OEsIUlXh3fAhWXkfi/cz4T REMzo8TDc2vZIZweRonLTTOgOqwl7pz7xQbyD7OApsT6XfoQrzlKdD/0gzD5JG68FQQpZgYy J22bDvU8r0RHmxDEDDWJWcfXwW09eOESM4TtIfHu00NmSADFStw9vYxlAqPcLIRVCxgZVzGK p5YW56anFhvlpZbrFSfmFpfmpesl5+duYgSmh9P/jn/Zwbj81Ue9Q4xMHIyHGCU4mJVEeL2O NiYI8aYkVlalFuXHF5XmpBYfYpTmYFES503asiZeSCA9sSQ1OzW1ILUIJsvEwSnVwLTo954z Cw8lZdYITbT/PGn+m1j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slZuSstbY6rnQjKXHfQ qdKFI/xK2OZ7C1a5zZ2xg33+3yeX8y2FH5VcXPO68vSqgxULniSyVh+6vjTcS2VTlm6cicu+ A3OEfsUIzZZXN2ybeWqiiuqcwA5DntTzGpkr1vnNuHPqVdNR5fqyM6lPD1yfabMyfvNVrdzC xmPMBzd/fWdzYWVmRNKLmVfeHq2/vnferID6mpI1N2bFnc8ItPXR9npXc+nYpYS27QoCOxdq 9lx8f8X5w5difn3zhkNKLMUZiYZazEXFiQDDzgX41QIAAA== X-CMS-MailID: 20210423204509eucas1p16ed651b17a096e10e8beb71d26614f66 X-Msg-Generator: CA X-RootMTR: 20210423204509eucas1p16ed651b17a096e10e8beb71d26614f66 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210423204509eucas1p16ed651b17a096e10e8beb71d26614f66 References: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c index a92a9ca6e87e..c1d3bda8385b 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c @@ -172,6 +172,7 @@ static struct mfc_control controls[] = { .type = V4L2_CTRL_TYPE_INTEGER, .minimum = 0, .maximum = 16383, + .step = 1, .default_value = 0, }, {