Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1030362pxx; Tue, 27 Oct 2020 06:44:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+SR8NwC8LJ063zf8gmPqJot8BTbgXEs0Q3+ApDSTSZbXL2Z2/jvZY1L7q6NsdQUv89EeU X-Received: by 2002:a17:906:6d0c:: with SMTP id m12mr2503484ejr.498.1603806253602; Tue, 27 Oct 2020 06:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603806253; cv=none; d=google.com; s=arc-20160816; b=ND6c9xDYqFbrrGT3wLRIpfO9xdAT9oJSX/BqD5UzF6mhIzUiuk8cmcMFI8g3zea0U7 qitMl5vVM2DJJdJ/jPRtd9lUdjJAuf9oZ72S/XaaMr3sF5oEezjl1squKv5M4012VgC5 qIi52lT9y6ZBnygxvYBlqvMIoxHeEoU8xQ5IEfU0cTSe0JOaIOYpYesVOiGscRfP0zgn A+tJsV1RbwRwH8DWBT8ejLQ1Fq4Dlz0LVJskNFyJWVrbZq1aDHgT+U+Gb34rx7v+AebK KR66Po+FGzqonu2zuzVjjz+4qZhPs1d2EWxLjaAqOGV1Uv0F95kGaIfhplVQ9UEg//tI Pu8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rw1vdW/Ov6Zx9LklL9V5wFMuqCMzIXWE0i7m1c+tpTs=; b=GK49AkDyISMEDvamqE2woR95WOPRy+FBnEi5I1t3B0hC/FDfW4GSAKWnsCasiyIAA7 TV3HS4/c2+0Y9v45cqYsAex+CfqTfL3yDyq8r+ju2qGTrNcv8Es8HH4tpkG0QRyZLdds z0lPQdkFbdvIXB6ekwG/MGvYFoc/bGGYMoBGVrPzSwSytf37k56pUTU+a1MQcAd8Tz4c IrJEQ6xfnCx8pRgtnthn87Brn+g0Rqk4sS0TiUGUAWqx6d2pV6/Ua8hdmhPJyBbMuDys vSlunTEMiRDCY/ELgwd3gJBYUFZluj5q2YtCshb3FlU/y2fysiGgy/z4a5XoRbJygs3C DxwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PUTvTp6F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si1004417eju.267.2020.10.27.06.43.51; Tue, 27 Oct 2020 06:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PUTvTp6F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2444436AbgJ0Ain (ORCPT + 99 others); Mon, 26 Oct 2020 20:38:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:48772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408969AbgJZXuB (ORCPT ); Mon, 26 Oct 2020 19:50:01 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B926223AB; Mon, 26 Oct 2020 23:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603756200; bh=vMMAgSfikcnpjQ3HPznBETOr9yljsKexNKRHJBcCX5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PUTvTp6F8b5/BFM7ZmW8Y1ouUUOSv9Ags9z/o2v2iObxsaCdIQZmF864J9z+g/LqY KZnQBStbqwGO/w44D2NhHFtVsKLYxKSyib4ZAAUBi5FJ9Lv04rur+ZRlZy2ehJX6yG l5sf1GicGmdAEJr1CunuMyrJl4DkirL/GyCbJFc4= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Akshu Agrawal , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.9 043/147] ASoC: AMD: Clean kernel log from deferred probe error messages Date: Mon, 26 Oct 2020 19:47:21 -0400 Message-Id: <20201026234905.1022767-43-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201026234905.1022767-1-sashal@kernel.org> References: <20201026234905.1022767-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Akshu Agrawal [ Upstream commit f7660445c8e7fda91e8b944128554249d886b1d4 ] While the driver waits for DAIs to be probed and retries probing, have the error messages at debug level instead of error. Signed-off-by: Akshu Agrawal Link: https://lore.kernel.org/r/20200826185454.5545-1-akshu.agrawal@amd.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/amd/acp3x-rt5682-max9836.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp3x-rt5682-max9836.c b/sound/soc/amd/acp3x-rt5682-max9836.c index 406526e79af34..1a4e8ca0f99c2 100644 --- a/sound/soc/amd/acp3x-rt5682-max9836.c +++ b/sound/soc/amd/acp3x-rt5682-max9836.c @@ -472,12 +472,17 @@ static int acp3x_probe(struct platform_device *pdev) ret = devm_snd_soc_register_card(&pdev->dev, card); if (ret) { - dev_err(&pdev->dev, + if (ret != -EPROBE_DEFER) + dev_err(&pdev->dev, "devm_snd_soc_register_card(%s) failed: %d\n", card->name, ret); - return ret; + else + dev_dbg(&pdev->dev, + "devm_snd_soc_register_card(%s) probe deferred: %d\n", + card->name, ret); } - return 0; + + return ret; } static const struct acpi_device_id acp3x_audio_acpi_match[] = { -- 2.25.1