Message ID | 20200228100038.27748-2-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=9THl=4Q=alsa-project.org=alsa-devel-bounces@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11F5BC3F2D2 for <alsa-devel@archiver.kernel.org>; Fri, 28 Feb 2020 10:03:14 +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 95282246AE for <alsa-devel@archiver.kernel.org>; Fri, 28 Feb 2020 10:03:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="YD1lcRMY"; 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 95282246AE 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 C990916DA; Fri, 28 Feb 2020 11:02:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C990916DA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1582884191; 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=YD1lcRMYoehCKEwCaK4knxETj508C6RvvYvcApkUxRzgmMhenGWeCTcfS7N9IHXIL wmtFuRfeoXHDx//XGHzYhSd7iz2vylBRwAzsMAsXgM1hOn2w4WoSX1LubaEfN0HDLc y5vOx5/PEMLu2x71vIDHLj7ukVjt3Pvj6EBGxqV4= 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) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0E6E0F8014E; Fri, 28 Feb 2020 11:01:19 +0100 (CET) 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 <alsa-devel@alsa-project.org>; 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 <alsa-devel@alsa-project.org>; 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 <m.szyprowski@samsung.com> 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/BoaJ8SbklhZlVq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uawUn/dwk9O5Z0vI1hxh++LROeVnyarMRSnJFoqMVcVJwIAM1hzieFAgAA X-CMS-MailID: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200228100114eucas1p23f608fce62f751125d5107721744ce22 References: <20200228100038.27748-1-m.szyprowski@samsung.com> <CGME20200228100114eucas1p23f608fce62f751125d5107721744ce22@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 |
None
|
expand
|
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; }
Don't confuse user with meaningless warning about the failure in getting clocks in case of deferred probe. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- sound/soc/codecs/wm8994.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)