From patchwork Wed Feb 26 10:11:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 183908 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp2934692ile; Wed, 26 Feb 2020 02:11:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxGbdkx8oPixvsbLrQPFF1zmhIRIwXx6qWdWqbFSPsxCoPmO+4ouEiOjwaJ3urMrqZ5LABL X-Received: by 2002:a17:902:8545:: with SMTP id d5mr3206233plo.116.1582711896813; Wed, 26 Feb 2020 02:11:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582711896; cv=none; d=google.com; s=arc-20160816; b=Do4ho2uFmI1YqR8o809H+vsC1Cb586kIofPxLHe/RqPbudvijUsmIx8rqrEEJlMk9V fdGinIiXdF3q6K/6h/mUSq/IqQ5pmA91XVjoRKnu63N5dggThXef/hREwgSIMKFNucUs e3rm6M1FrYwFFx/oouKUvolp7beQU0QCtN8DLI8Wy8nTBCbsTFUEMcz9AdyHRWLqk1ZO Sj2rNRq5nqKg2VmeN85O9UpHZPO4Rbl3JHJetPFcL2UOUO/sDs575ldZLsSL36nC2Ix9 SeZl7pWJL0eaSH+crmf/xshuMF4rLwsFJ+XA5VdVCtIS/0gtFzwPdtiZAm+iA6LnM2FT wY7w== 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=kXeFc00czbagBFdaKjWAajvn8d+yvX2LtazGc+arSIU=; b=aWVfc3WiEM+U0kH160kHJ4NwLdKev+FWu8GzfDwUQqCFI1xIHTyeKzhV8bfJ8nVnYV Kai0Pm97Y2tsgcnwhxPGNZwnFoDjyrPniJ/K/i54MaRTHxmDPVTBDZOPu1e9GuqQVU5c OR4Y+0og9L5ZSJZfnSTXsyJOrWxkSLKQHYBXDBVBT78MHaBNYG8B5p1VQds2jvzSXT5y 4l9IPuWvRNFhQNZfzQphU4QjaFVBTX7OtfdOuGGYDY8WCTxSPOWbFmPI7mE/05/ylMwK G0Mo2fEu8p9KSe35yFQC/LL/e9BQsNCJWLDyqTzCcB1Wr2XO4Ldk+tGuqutQN5uTRcxA XRGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=IWGHFdaE; 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 z5si2060017plk.274.2020.02.26.02.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 02:11:36 -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=IWGHFdaE; 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 BBB176E438; Wed, 26 Feb 2020 10:11:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 268CD6E438 for ; Wed, 26 Feb 2020 10:11:34 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200226101132euoutp024891b862bae2699b14d85e27375a51b7~27BSqVU2a1664416644euoutp02m for ; Wed, 26 Feb 2020 10:11:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200226101132euoutp024891b862bae2699b14d85e27375a51b7~27BSqVU2a1664416644euoutp02m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1582711892; bh=UBpofmB7cyohqn9qMM/gg+/dCQW29TJalq8BZ/tUlhk=; h=From:To:Cc:Subject:Date:References:From; b=IWGHFdaEjyasRs8IfZThChuaii6PxqZh9Rx/SAeYMkYcK+NQAFkLtPa3TQQmKYEgT z3Ezb5uXWDR/kzDPjJ3LpKLQ/osdvVA0gLQPbPanWN/81nJn8sWBp3SKqjok8JG47y q8arzFKz9gYU3UEZK9ndnnbPadGtms3hsquzLKT4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200226101132eucas1p257542d8d426e1cac48279d64a5677610~27BSU0A7D0356403564eucas1p2p; Wed, 26 Feb 2020 10:11:32 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 4A.64.60679.454465E5; Wed, 26 Feb 2020 10:11:32 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200226101131eucas1p2a30aae3cfb0df9aa36c4ddc34f513874~27BSEo10Q0356403564eucas1p2o; Wed, 26 Feb 2020 10:11:31 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200226101131eusmtrp17239bd7fdbb0c2fe15e4c6b1f5b74ab6~27BSD-9WJ1551515515eusmtrp1t; Wed, 26 Feb 2020 10:11:31 +0000 (GMT) X-AuditID: cbfec7f4-0e5ff7000001ed07-28-5e5644547e9c Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 30.2C.07950.354465E5; Wed, 26 Feb 2020 10:11:31 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200226101131eusmtip2203f261bed56d1a1752c0747e7d3c445~27BRogrl30717107171eusmtip2x; Wed, 26 Feb 2020 10:11:31 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] drm/exynos: dsi: silence warning about regulators during deferred probe Date: Wed, 26 Feb 2020 11:11:19 +0100 Message-Id: <20200226101119.16578-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMIsWRmVeSWpSXmKPExsWy7djP87ohLmFxBteeclncWneO1WLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr4+KEi4wFG9grWlYeYWlgnM7WxcjBISFgIvGhoaaLkYtDSGAFo0TjzF/MXYycQM4X RolrV5Ig7M+MEucXpIPYIPVHWidC1SxnlGheogbRDFS/d9EeFpAEm4ChRNfbLjYQW0TATaLp 8ExWkCJmgeuMEt9+LGIHSQgLREk0v1oLNolFQFVi1rI7TCA2r4CtxPxNzcwQ2+QlVm84wAzS LCFwhE1i/58/7BAJF4m2h3PZIGxhiVfHt0DFZSROT+5hgWhoZpR4eG4tO4TTwyhxuWkG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TBKdXA uNpJ7WX0sbeWT0tYG6OFoqzuzbULWPj7fZv40bWVwY7qGVO9vU8+bZt8LMPCsu+8W3+NL2/Z rg8qveraf9Y9PzKjPJHj1qkzondmOzc9uulvn6cnWJT2vuGe3b/Plrt+XDhuLbkk+vuqu3xX hTu5RWdERDaJrgo0Ozf9XfWvTZIrD3guk6psUWIpzkg01GIuKk4EANYU1BVPAgAA X-CMS-MailID: 20200226101131eucas1p2a30aae3cfb0df9aa36c4ddc34f513874 X-Msg-Generator: CA X-RootMTR: 20200226101131eucas1p2a30aae3cfb0df9aa36c4ddc34f513874 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200226101131eucas1p2a30aae3cfb0df9aa36c4ddc34f513874 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: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Seung-Woo Kim , 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/exynos/exynos_drm_dsi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 08a8ce3f499c..a85365c56d4d 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1773,8 +1773,9 @@ static int exynos_dsi_probe(struct platform_device *pdev) ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(dsi->supplies), dsi->supplies); if (ret) { - dev_info(dev, "failed to get regulators: %d\n", ret); - return -EPROBE_DEFER; + if (ret != -EPROBE_DEFER) + dev_info(dev, "failed to get regulators: %d\n", ret); + return ret; } dsi->clks = devm_kcalloc(dev,