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: 426309 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp1642636jao; Fri, 23 Apr 2021 13:45:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPhsZNhAqU11qeej1zFOuVn4jL2UUo50Xv95C3wafwDQSxnYIOY18nahpUzEopWEPGrodG X-Received: by 2002:a50:fe01:: with SMTP id f1mr6761781edt.272.1619210722464; Fri, 23 Apr 2021 13:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619210722; cv=none; d=google.com; s=arc-20160816; b=HW58zgiZgmXl8RmgBEXwi/NaHHUmbvJF/kYOvYSStbAEQda3hHjAc2sqgkmQayT5q3 GmQ4Q2zApd31Efvl8CtqVmPOK8pzVpJCYLErlMAGq5yG+XwUpqvRytkirN7/eluMmLTb +uZjsxcOtA/kkE+vabSvM/YNPFC99BIxPBdaR5Von8+umc8qNFEIeZlJQDbrhWq9hBAf acySVqBlxxkCabohMQ+Uu7EMCXJp6ltkW1RJf/+XQDUm+S4f3kisGdIYhLdyYindZT5Y CaA3IX9DU9c9q7Zso5owr1YZd/MFPP+YFmZ1N+hB5xp3ynKN3SlOPbODlXIL/UtHQFUz YoOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=NBm0xRecla9MrLRvQiuvQHIGm/beN9+oBu9WKwOwc1U=; b=nR9JvD/+NSCoB9Bn6Rr9Vn0VLmnLwY4svel/mQJSyufwRA8aXM5P26XQRI1tm7tx0c 9ZNbYhIDcLAqFxIZ6hM+lv9VNxYUJKAw6aPGx1w4PN30kxazcnXGYlrmjGc7nU4FgSXE CXTOBbsfWB3Yi/YyuiwE1pslslkf05WoimYXjpw39SbNQzoAYofmGHyDwznpyEtJzwtN STXioaoVCIHJxG7Ug/ALP06SVLFtuWIgua00q2FVt+wGL9NF9QZlqHdj/RDKU3tYOQ+W 3WLUUJEeN2wgmnhXwjNpuqPSs2GDcCdYn2H3YhLuIHv/NcW2BKnxCqlYFF7CI92/qJhv 1Glg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="hTn83j/K"; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw20si5959484edb.427.2021.04.23.13.45.22; Fri, 23 Apr 2021 13:45:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="hTn83j/K"; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244003AbhDWUpx (ORCPT + 4 others); Fri, 23 Apr 2021 16:45:53 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:58982 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231721AbhDWUpu (ORCPT ); Fri, 23 Apr 2021 16:45:50 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20210423204511euoutp0162262e32dcc1136f641f2166fe488a15~4l5AR4tbM2289922899euoutp01n for ; Fri, 23 Apr 2021 20:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20210423204511euoutp0162262e32dcc1136f641f2166fe488a15~4l5AR4tbM2289922899euoutp01n 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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H0MXFwSjUwefyQklj6fpGTJYfFkZiJjQsel+yd0r3WUHW30Ub+bQdtujzTnKvE5rzY 7Fu8wCXp2Kb3YrlLz4Y8yt7CW7do280ZDTKX4/+pzlGb7Mv06sq/UslZuSstbY6rnQjKXHfQ 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-samsung-soc@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(+) -- 2.17.1 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, }, {