Message ID | 20200228100038.27748-1-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=9THl=4Q=alsa-project.org=alsa-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D99513A4 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 28 Feb 2020 10:02:06 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 21F52246A8 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 28 Feb 2020 10:02:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="scAwiQnT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="HoPwK4+A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 21F52246A8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4C82516CA; Fri, 28 Feb 2020 11:01:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C82516CA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1582884124; bh=wGAeyaQCk/m/QxFGEV+X8jEpOJA51WlSjOEUsKOL1JQ=; h=From:To:Subject:Date:References:Cc:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=scAwiQnT+8ROxeMlGvV3+KNDt4c3BvFnR7Q+l1jdBs37qoTQR8DKrV3M7U2Lvbn1x QJPX+ESVgviBz0GjeeOQGHNwW6fGc92U6aEv2Oo7WTMvRbFbrfSglcQeCUNbvekcQC 225WrEBqh3m1AxNIHZY0etX6U/zo1IBSig+4EDA4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9A401F8014D; Fri, 28 Feb 2020 11:01:19 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2A29CF8016F; Fri, 28 Feb 2020 11:01:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BD29FF80086 for <alsa-devel@alsa-project.org>; Fri, 28 Feb 2020 11:01:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BD29FF80086 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="HoPwK4+A" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200228100114euoutp020103c098a7c671e2a9f3d9de3d8f771b~3iK3larVG3267032670euoutp02L for <alsa-devel@alsa-project.org>; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200228100114euoutp020103c098a7c671e2a9f3d9de3d8f771b~3iK3larVG3267032670euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1582884074; bh=hRJ3MYQboR7HKJUsUn0rBsOQmcUWW+EA/19lIqK9+5E=; h=From:To:Cc:Subject:Date:References:From; b=HoPwK4+AXClM/ZLG0zytwAN5THtEwLHwiAKyoUTDoujLy+gvixjBRspLOlYqpKMEb mUh96svibA2cvEXuFnGzwGHOGDMJCF4BeW85kDeVTAoOwfa/YbpexEt7b05075h+X6 O55D6fyw3DCqvT28oFF6LuEkmL0xIvdsfXTQV7SI= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200228100114eucas1p1ab3ab5ea55735ba5411f400718e63354~3iK3aIrmE0576705767eucas1p1N; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 16.C5.60679.AE4E85E5; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c~3iK3Gmryk3053730537eucas1p2Q; Fri, 28 Feb 2020 10:01:13 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200228100113eusmtrp1e5251aed83458584d21c4cc6c2801664~3iK3F6pAx1359213592eusmtrp1x; Fri, 28 Feb 2020 10:01:13 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-07-5e58e4eaa0ec Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A2.53.08375.9E4E85E5; Fri, 28 Feb 2020 10:01:13 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200228100113eusmtip11fa26a027dff2fd3262a75c23cb3599d~3iK2qsHe52262722627eusmtip1T; Fri, 28 Feb 2020 10:01:13 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] mfd: wm8994: Silence warning about supplies during deferred probe Date: Fri, 28 Feb 2020 11:00:37 +0100 Message-Id: <20200228100038.27748-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42LZduznOd1XTyLiDA6c5ra4cvEQk8XUh0/Y LK60bmK0uP/1KKPFtysdTBaXd81hs1h75C67xef3+1ktDr9pZ3Xg9NjwuYnNY+esu+wem1Z1 snncubaHzWP6nP+MHn1bVjF6fN4kF8AexWWTkpqTWZZapG+XwJVxfOlHpoIDbBUvZi5lamBc w9rFyMkhIWAi0fz2CnMXIxeHkMAKRombp6awQThfGCV23bzLCuF8ZpT49uo/E0zL56VrmCAS yxkltmyZzgzX0vpvJjtIFZuAoUTX2y42EFtEIE5i+eIFYB3MAr8YJT5/2gTkcHAIC0RIfH6m CVLDIqAqsXrNRLCjeAVsJa6dncQOsU1eYvWGA8wQ9mc2ia7pghC2i8TdkxsYIWxhiVfHt0DV y0icntzDArJLQqCZUeLhubXsEE4Po8TlphlQHdYSd879YgM5gllAU2L9Ln2IsKPE8tsTwG6T EOCTuPEWbBczkDlpG8iTIGFeiY42IYhqNYlZx9fBrT144RLUmR4SP34vZgcpFxKIlVh81WwC o9wshFULGBlXMYqnlhbnpqcWG+WllusVJ+YWl+al6yXn525iBKaM0/+Of9nBuOtP0iFGAQ5G JR7eBTvC44RYE8uKK3MPMUpwMCuJ8G78GhonxJuSWFmVWpQfX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/9q i8d75zzONiWW4oxEQy3mouJEAD97ahxtAgAA X-CMS-MailID: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c References: <CGME20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c@eucas1p2.samsung.com> Cc: Charles Keepax <ckeepax@opensource.cirrus.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Lee Jones <lee.jones@linaro.org>, Marek Szyprowski <m.szyprowski@samsung.com> X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
[1/2] mfd: wm8994: Silence warning about supplies during deferred probe
|
expand
|
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 1e9fe7d92597..bfee2f8ba17f 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c @@ -393,7 +393,9 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq) ret = regulator_bulk_get(wm8994->dev, wm8994->num_supplies, wm8994->supplies); if (ret != 0) { - dev_err(wm8994->dev, "Failed to get supplies: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(wm8994->dev, "Failed to get supplies: %d\n", + ret); goto err; }
Don't confuse user with meaningless warning about the failure in getting supplies in case of deferred probe. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/mfd/wm8994-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)