From patchwork Fri Feb 28 10:00:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11411963 Return-Path: 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 ; 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 ; 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 ; 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 ; 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 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 JR7eBTvC44RYE8uKK3MPMUpwMCuJ8G78GhonxJuSWFmVWpQfX1Sak1p8iFGag0VJnNd40ctY IYH0xJLU7NTUgtQimCwTB6dUAyPz0Z+Xt33f905O1+T52SBzk2qeVw8+Fmj3Kv1K/Ljku0ht YI+L5ZYfAdEFqjIrvFmYvVuPG/j2t77elMOaKMO15vaztzsPMJm+tVizPKdGUffRmi2d1mfu 2Za+3s4jbTTntG9r66XV3y8uv3Yy/oxpqEy3PKtS/6rTG28tv18RveiroNikGGYlluKMREMt 5qLiRAAW90ZoFQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsVy+t/xu7ovn0TEGcw/YGVx5eIhJoupD5+w WVxp3cRocf/rUUaLb1c6mCwu75rDZrH2yF12i8/v97NaHH7TzurA6bHhcxObx85Zd9k9Nq3q ZPO4c20Pm8f0Of8ZPfq2rGL0+LxJLoA9Ss+mKL+0JFUhI7+4xFYp2tDCSM/Q0kLPyMRSz9DY PNbKyFRJ384mJTUnsyy1SN8uQS/j+NKPTAUH2CpezFzK1MC4hrWLkZNDQsBE4vPSNUxdjFwc QgJLGSVe35/GDpGQkTg5rQGqSFjiz7UuNoiiT4wSTYfnM4Ek2AQMJbregiQ4OUQEEiQOLW9h BiliFvjHKPHu0U1mkISwQJjEmqbHjCA2i4CqxOo1E8Gm8grYSlw7Owlqm7zE6g0HmCcw8ixg ZFjFKJJaWpybnltsqFecmFtcmpeul5yfu4kRGK7bjv3cvIPx0sbgQ4wCHIxKPLwLdoTHCbEm lhVX5h5ilOBgVhLh3fg1NE6INyWxsiq1KD++qDQntfgQoynQ8onMUqLJ+cBYyiuJNzQ1NLew NDQ3Njc2s1AS5+0QOBgjJJCeWJKanZpakFoE08fEwSnVwGgVXc/yvmjp7jsyGp8dvN68N7mv IZ6pW+R32Nq6MCorVU/VyHnaswbV3Xvyrrdb3AnqPC+o8Hca43a35f3HD70XsDBy4v3n1Rnb E3ejvj3svuzOOcYcFW3LuQ7USgm1n7E94nlGY43b/mN7l7X8UTnKVddfeWe3zIOT3w+9O/9q i8d75zzONiWW4oxEQy3mouJEAD97ahxtAgAA X-CMS-MailID: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c X-Msg-Generator: CA X-RootMTR: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200228100113eucas1p26b8a378be47794225f5d75fb9583d43c References: Cc: Charles Keepax , Liam Girdwood , Mark Brown , Sylwester Nawrocki , Lee Jones , Marek Szyprowski 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Don't confuse user with meaningless warning about the failure in getting supplies in case of deferred probe. Signed-off-by: Marek Szyprowski --- drivers/mfd/wm8994-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } From patchwork Fri Feb 28 10:00:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11411969 Return-Path: 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 E7A2614B7 for ; Fri, 28 Feb 2020 10:03:07 +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 7F5D3246A8 for ; Fri, 28 Feb 2020 10:03:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="AJpWCA6o"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="PIzata/s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F5D3246A8 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 D187516E1; Fri, 28 Feb 2020 11:02:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D187516E1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1582884185; bh=yW90qB/wY6TSTAMI6xfHAhBB2pfovYbXErwvlYsJ5hc=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AJpWCA6oveaSIZ+PCKMiU9qIbXNvTap81mC5uVipBcge681ymtyAJ3IfmoHdUpkm+ 5MJLGyHTDb/Ohn3FavrbUdgyeGuY7t0a9hFIZcGCljf8vRTWen+X8kLEdAvCzbAI8h +/hFcNPNdPmm6DWL5cvNeuwF5I4gUF1EdUkdDVrA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E14ADF8028B; Fri, 28 Feb 2020 11:01:22 +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 0E6E0F8014E; Fri, 28 Feb 2020 11:01:19 +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 mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 37E52F80089 for ; Fri, 28 Feb 2020 11:01:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 37E52F80089 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="PIzata/s" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200228100114euoutp01ed2e572d4ffe52ccd66f5fc82fb03d36~3iK4Cx7KB2298522985euoutp01Y for ; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200228100114euoutp01ed2e572d4ffe52ccd66f5fc82fb03d36~3iK4Cx7KB2298522985euoutp01Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1582884075; bh=r7iAjpDLPSMkIvQyWiR/gtZC7/Uvo9W8WiBUY3bIyxc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PIzata/sP4ssB420HUNMBxV8UovlTZ/bOsqBbDGF0D0Eluz4VkzaFP7ACpdVCPsC1 F2aATp9RNdfDcMVKnrNTQSFUEaHzO493qrJG9112JzvkvtC3ruCCGtEiQ692qrIWV5 P0EDQ6SnR1QdeT0arlG+eGJpiuYuD57VMU9j3uyY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200228100114eucas1p1cf7b49552dc788c951afde0977ae8c62~3iK337i5z0578605786eucas1p1A; 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 E6.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 20200228100114eucas1p23f608fce62f751125d5107721744ce22~3iK3lkMDh1701517015eucas1p2C; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200228100114eusmtrp14b1f1d52c6b219b563d9245797aed779~3iK3k73EN1359213592eusmtrp10; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) X-AuditID: cbfec7f4-0e5ff7000001ed07-0a-5e58e4ea50f4 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 93.53.08375.AE4E85E5; Fri, 28 Feb 2020 10:01:14 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200228100113eusmtip1ab4804ebe72bd37332090963029f9851~3iK3GKNRQ2243522435eusmtip1b; Fri, 28 Feb 2020 10:01:13 +0000 (GMT) From: Marek Szyprowski To: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ASoC: wm8994: Silence warnings during deferred probe Date: Fri, 28 Feb 2020 11:00:38 +0100 Message-Id: <20200228100038.27748-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200228100038.27748-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIKsWRmVeSWpSXmKPExsWy7djPc7qvnkTEGXw6rmdx5eIhJoupD5+w WVxp3cRocf/rUUaLb1c6mCwu75rDZrH2yF12i8/v97NaHH7TzurA6bHhcxObx85Zd9k9Nq3q ZPO4c20Pm8f0Of8ZPfq2rGL0+LxJLoA9issmJTUnsyy1SN8ugSvjz4JHTAW72CoWNnxgamBc w9rFyMkhIWAiMWP7QTBbSGAFo8SE3pQuRi4g+wujxNL2j6wQzmdGiSn7trDAdKy/ewMqsZxR Yu6cfexwLRu3TmcEqWITMJToetvFBmKLCMRJLF+8gAmkiFngF6PE50+bmEASwgKeEivW3gVb ziKgKrH+yAuwOK+ArcShHx3sEOvkJVZvOMAMYnMK2EmcvP0MbJCEQDe7ROvRXiaIIheJ+Xc3 QH0kLPHq+BaoZhmJ05N7WCAamhklHp5byw7h9DBKXG6awQhRZS1x59wvoFs5gO7TlFi/Sx8i 7CjxbudCdpCwhACfxI23giBhZiBz0rbpzBBhXomONiGIajWJWcfXwa09eOESM4TtIXHjchs0 hCYyStxfuo55AqP8LIRlCxgZVzGKp5YW56anFhvlpZbrFSfmFpfmpesl5+duYgQmlNP/jn/Z wbjrT9IhRgEORiUe3gU7wuOEWBPLiitzDzFKcDArifBu/BoaJ8SbklhZlVqUH19UmpNafIhR moNFSZzXeNHLWCGB9MSS1OzU1ILUIpgsEwenVANjzgar/XuNrnJpPV7uECf5Z84TddNFbJrr 5R5v3fFkY3DEAtePmSt7H/xYyuH56s7qxStXCbaJ7ndlfXxF3ut3tY265IXYjMVlZ9OSLXMy l9jbe2X/lbg24VdAl1h8rE7E0RTePrFfv7xNb5Tulw1NOXfk5P3ccqlp4Zu7Mj2/h8zY5iY/ JfC5EktxRqKhFnNRcSIAZubgjCQDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrELMWRmVeSWpSXmKPExsVy+t/xu7qvnkTEGSx6L2Vx5eIhJoupD5+w WVxp3cRocf/rUUaLb1c6mCwu75rDZrH2yF12i8/v97NaHH7TzurA6bHhcxObx85Zd9k9Nq3q ZPO4c20Pm8f0Of8ZPfq2rGL0+LxJLoA9Ss+mKL+0JFUhI7+4xFYp2tDCSM/Q0kLPyMRSz9DY PNbKyFRJ384mJTUnsyy1SN8uQS/jz4JHTAW72CoWNnxgamBcw9rFyMkhIWAisf7uDSCbi0NI YCmjRNPDt4wQCRmJk9MaoIqEJf5c62KDKPrEKHF07jSwBJuAoUTXW5AEJ4eIQILEoeUtzCBF zAL/GCXePbrJDJIQFvCUWLH2LlgDi4CqxPojL5hAbF4BW4lDPzrYITbIS6zecACsnlPATuLk 7WdgNUJANUfnPGSewMi3gJFhFaNIamlxbnpusaFecWJucWleul5yfu4mRmB4bzv2c/MOxksb gw8xCnAwKvHwLtgRHifEmlhWXJl7iFGCg1lJhHfj19A4Id6UxMqq1KL8+KLSnNTiQ4ymQEdN ZJYSTc4Hxl5eSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQbGbk7D ogiT60o1WW/Wfj10oF3LRX9r+f6zL09e665/r7z40+9E8Vwx9VOmSx5qHdvidj+tkv2l45fr 560k9C1uL/XvM9j1I+L07jeeuU7T1LYs8z0Rx/7v+mR9paCaFwxmKxSmmLUunlkh3bgit2/C tXuawUn/dwk9O5Z0vI1hxh++LROeVnyarMRSnJFoqMVcVJwIAM1hzieFAgAA X-CMS-MailID: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 X-Msg-Generator: CA X-RootMTR: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 References: <20200228100038.27748-1-m.szyprowski@samsung.com> Cc: Charles Keepax , Liam Girdwood , Mark Brown , Sylwester Nawrocki , Lee Jones , Marek Szyprowski 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Don't confuse user with meaningless warning about the failure in getting clocks in case of deferred probe. Signed-off-by: Marek Szyprowski --- sound/soc/codecs/wm8994.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 15ce64a48a87..b4d8da8eb479 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -4601,7 +4601,8 @@ static int wm8994_probe(struct platform_device *pdev) ret = devm_clk_bulk_get_optional(pdev->dev.parent, ARRAY_SIZE(wm8994->mclk), wm8994->mclk); if (ret < 0) { - dev_err(&pdev->dev, "Failed to get clocks: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(&pdev->dev, "Failed to get clocks: %d\n", ret); return ret; }