Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2942598imu; Fri, 18 Jan 2019 01:56:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN7fyLhjo5CiOBl0FEy4N0hKkJA2cX2RYDS0mTx76EEws1Q0nrqhi4zw6s04jG0S6Nkx0q55 X-Received: by 2002:a63:ef04:: with SMTP id u4mr17093034pgh.197.1547805417879; Fri, 18 Jan 2019 01:56:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547805417; cv=none; d=google.com; s=arc-20160816; b=uDPqGpk7YBYe9B8b2fBhNHIeWvO3pBtwrf9GHEdYBM5XzsjXILsRiXhQY+wsVcJniN R7BLTugVOCSTjsH1fEBsLja5zm/1WF2o1QHlTaEXOkvqQzFh9TM/GA2bJLzrmYK7K6OB ej8NQCe+jVUQ8yaUBRhFNo+hJHxUhKiswNYHqALAd93t/GCM+U6c8UVoVaQs92Ig0CPI /SCJFLgZ0DkevD2cMvY2E5+F0AVZYQRAuc1eJ4sSX9s8D5PJKMdyb9IEWFAmcAbDStE9 MEhoxmrbgcKUDcDnG2CMZdFZGIz7t63knd9ZntDzIB+ElOnAsI58Jt/Z/J4kH+rT1tMc swHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SjFAMPHJCadPYga79E65L3P4K5CD6WMlh5Q7VTqjdt0=; b=hjW+uiK4Esych99HDqS9zCnvcJHjOI2EaxLvVeDmFWXYsNmPoenccbfbLpmeo703AJ 9ZXzZGXGMy80yGVHfRair7JXBe8ZKQvSlpCI74XHLFISj5bhUfU3yaBsMKnoxKz7u3t3 LXhBciqM/HhuITi6UNYAE6uzrExBry5qJHjEEtziRI0Zg4jqWhym7DIHNarjVgb92DMl hBJhsx5OnDpV2LZUJKboW55emGREjcRcF+e0HmAK4eqTjSfI8iU8QHU6HhBOIUpXgLhi wS8FD/nsyMddKli0mjSCZkCFzsSnfcjHnu+ArzqNrwH4Onj3MJbavIOnZB3wmCdAsFfv QH0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=hoXQRDGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si2530721pgj.73.2019.01.18.01.56.39; Fri, 18 Jan 2019 01:56:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=hoXQRDGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727018AbfARJzI (ORCPT + 99 others); Fri, 18 Jan 2019 04:55:08 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:34422 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725856AbfARJzH (ORCPT ); Fri, 18 Jan 2019 04:55:07 -0500 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id D0BBD5C00F2; Fri, 18 Jan 2019 10:55:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547805306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=SjFAMPHJCadPYga79E65L3P4K5CD6WMlh5Q7VTqjdt0=; b=hoXQRDGQnCc+yHhCM7pcdvYwUMVS0AeMEwJ6qLp6pI/yuN0pcFOd+x6QX8cNG6yC8Gm+/q 5mKd6QSf7152DZbS6teHAsnyZ3MCOzFNtmUQgpoWX+sT6wPR3CiRC9GjYIjaZhmREWJwTF i1FoZUlPwdGzBdBC+Gsv9D4UBB7Q2vE= From: Stefan Agner To: perex@perex.cz, lgirdwood@gmail.com, broonie@kernel.org Cc: tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH] ASoC: soc-core: remove error due to probe deferral Date: Fri, 18 Jan 2019 10:55:04 +0100 Message-Id: <20190118095504.22397-1-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Deferred probes shouldn't cause error messages in the boot log, so change the dev_err() to the more harmless dev_info(). Signed-off-by: Stefan Agner --- sound/soc/soc-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index b29d0f65611e..ba9b09517c5f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -903,8 +903,8 @@ static int soc_bind_dai_link(struct snd_soc_card *card, for (i = 0; i < rtd->num_codecs; i++) { codec_dais[i] = snd_soc_find_dai(&codecs[i]); if (!codec_dais[i]) { - dev_err(card->dev, "ASoC: CODEC DAI %s not registered\n", - codecs[i].dai_name); + dev_info(card->dev, "ASoC: CODEC DAI %s not registered\n", + codecs[i].dai_name); goto _err_defer; } snd_soc_rtdcom_add(rtd, codec_dais[i]->component); -- 2.20.1