From patchwork Wed Feb 26 10:13:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 183909 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp2936655ile; Wed, 26 Feb 2020 02:13:21 -0800 (PST) X-Google-Smtp-Source: APXvYqx85nuKpEx8ajPkR6dPJ0OB3/dgPE/sFYupV4oQPAngksI05Xe5JGiORG8xXvDS8vs7I8D3 X-Received: by 2002:a17:90a:2545:: with SMTP id j63mr4420287pje.128.1582712000912; Wed, 26 Feb 2020 02:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582712000; cv=none; d=google.com; s=arc-20160816; b=MpYdtdYgyYZ3jcKvZOcyznFZZThwhNCmTgJgRqUmnxcywIgnXXrh8aIFOHW9NEXxy/ nIPSnJdEza/sD9b9+0KZcOzMd3YOV4U+TYzCvNnt9jadGnieNU3JbKtb44PdUIWUCa/v Q2H2psEUHbMygY+K9UnBikRbRcpXXALGuKa9fvXycT90rGFp7bWHUWLwovnG4o6yKgLm paugQvW+2cwA3r7H6fa8WwrkkC3ScVP2Ea+IYf3zh6qnysGtRMKhspy7cPgRiJjXKHY6 wsYPZeFElqIQraENgbunq+QJ+qHSoJuBfTV70fewPxrMhpafSZdKWYhgFKzQdAlTnXSU zETQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:cms-type:message-id:date:subject:to :from:dkim-signature:dkim-filter:delivered-to; bh=2mxfig9FVyxGRFD/pQIysVQ8bsL2lljP4N2vJUa3aRE=; b=tStzeAuPh3ytk939X04LWMFTGOnM3LlCjYZmy1NwtjcqQlCqL3q912mIM/vhE6cPRN tPTY2eFgJu1XU0Sfp0u44l2TVygSOprhvWr044ZFZXP/+2BBELX+REHkUeTMuCTqucut RmhMmaxy/Hru0B4MCFNQjBDIvbBTUjI8tujuc7ChOcN98Tcd8vNzP7IhRN0tEcqkenzj HroGXcAAydP7z6yHY/f5KSyH6nrmCRPL1XGRC0C2Yn/BtESU/DcHqPRm+DxBivOsfnAY LKmn/rRtgW049SRKtyC6H0BGO8czkv1xO8iq7Lzt/8M/jd1ZmagxYSfabeRxUFZ/BVm2 /tuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=kjqJ1obC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 13si2236110pgx.55.2020.02.26.02.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 02:13:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=kjqJ1obC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2ED36E46C; Wed, 26 Feb 2020 10:13:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id C38A06E46C for ; Wed, 26 Feb 2020 10:13:18 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200226101317euoutp014270f9776d12db148e97220910532009~27C0Jtytz1842018420euoutp01K for ; Wed, 26 Feb 2020 10:13:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200226101317euoutp014270f9776d12db148e97220910532009~27C0Jtytz1842018420euoutp01K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1582711997; bh=O1BFWpWbTwDLNXm1FRjAmKAXsPmqCPdSm166rZilS7M=; h=From:To:Cc:Subject:Date:References:From; b=kjqJ1obC5+Eqt3peK4GRJ0bvxzrFjacg6qSQEqJ2uPUxMh7w7qdFmX8wbA2lVCxLF pMBkBbhQ6/T3xymuuGbdts4JimI3439Tl5M7Cu6bRT4dfF6Z0/FfceT6PeOYzuKBlD CU5vjdjP7Va0+2Zk00B0d9ihpUqp/w7MtpceNZy8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200226101316eucas1p2b49f1eabcdac4bdec01ec4c81787feb7~27Czv8x_e3143731437eucas1p2v; Wed, 26 Feb 2020 10:13:16 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 46.C4.60679.CB4465E5; Wed, 26 Feb 2020 10:13:16 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200226101316eucas1p2fd16a7c821632084710167216b78f6c5~27CzP-Ebd3147831478eucas1p21; Wed, 26 Feb 2020 10:13:16 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200226101316eusmtrp1d4ff0a08dba91cad28178c4c6029d5d9~27CzPWneG1656116561eusmtrp1C; Wed, 26 Feb 2020 10:13:16 +0000 (GMT) X-AuditID: cbfec7f4-0e5ff7000001ed07-88-5e5644bcdf68 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 26.6C.07950.CB4465E5; Wed, 26 Feb 2020 10:13:16 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200226101315eusmtip2c4bb9e06902a9feeef244aeed2d0bee2~27CysNvBc0087800878eusmtip25; Wed, 26 Feb 2020 10:13:15 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] drm/bridge: sii9234: silence warning about regulators during deferred probe Date: Wed, 26 Feb 2020 11:13:07 +0100 Message-Id: <20200226101307.16708-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42LZduzned09LmFxBs9f6VrcWneO1WLjjPWs Fle+vmezuPr9JbPFyTdXWSw6Jy5ht5hxfh+Txdojd9ktDvVFO3B6vL/Ryu4xu2Mmq8eJCZeY PO53H2fy6NuyitHjQO9kFo/Pm+QC2KO4bFJSczLLUov07RK4Mr7u+s5ecIit4u6PAywNjAdZ uxg5OSQETCS27nvE1MXIxSEksIJR4uSTs1DOF0aJVdMmsINUCQl8ZpQ4uCiyi5EDrGPGJieI muWMEtsP3kRouHR5GthYNgFDia63XWwgtoiAm0TT4ZmsIEXMAnuZJHYcbAJLCAvESZx9eQxs A4uAqsSnBf2MIDavgK3Ei2W3GCHuk5dYveEAM0izhMBnNomWbS+YIRIuEi9uP2KDsIUlXh3f wg5hy0icntzDA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d5JfGGpobmFpaG 5sbmxmYWSuK8HQIHY4QE0hNLUrNTUwtSi2D6mDg4pRoYQ/Vje9uCfvKVvuZ/Ocv/0Nwvcj0T mKd8d5jud3/lDOfV9xirr5ra7/FwPxKt5fxUvuVBcYpu+xlplvCp52dbSOnNtg3ff9bgQKmZ 282YPJdrV5YEbXrIHruivWvKL541KdsMdK4/81sfNrkzpyh49x27d4eufAievOUDZ/WC1uYN UxfvfMI1X4mlOCPRUIu5qDgRAKg7fHNrAgAA X-CMS-MailID: 20200226101316eucas1p2fd16a7c821632084710167216b78f6c5 X-Msg-Generator: CA X-RootMTR: 20200226101316eucas1p2fd16a7c821632084710167216b78f6c5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200226101316eucas1p2fd16a7c821632084710167216b78f6c5 References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Neil Armstrong , Jonas Karlman , Andrzej Hajda , Bartlomiej Zolnierkiewicz , Laurent Pinchart , Marek Szyprowski MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Don't confuse user with meaningless warning about failure in getting regulators in case of deferred probe. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/bridge/sii9234.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Laurent Pinchart Reviewed-by: Krzysztof Kozlowski diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index f81f81b7051f..b1258f0ed205 100644 --- a/drivers/gpu/drm/bridge/sii9234.c +++ b/drivers/gpu/drm/bridge/sii9234.c @@ -836,7 +836,8 @@ static int sii9234_init_resources(struct sii9234 *ctx, ctx->supplies[3].supply = "cvcc12"; ret = devm_regulator_bulk_get(ctx->dev, 4, ctx->supplies); if (ret) { - dev_err(ctx->dev, "regulator_bulk failed\n"); + if (ret != -EPROBE_DEFER) + dev_err(ctx->dev, "regulator_bulk failed\n"); return ret; }