Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1812093imu; Thu, 17 Jan 2019 03:44:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN6YyFaRiMU71ANoaIA4a6AtcMC8RfNGjNCQ6eWaRFdV1CnW0ZAmoKEUS29nAm94TubISfDb X-Received: by 2002:a62:18ce:: with SMTP id 197mr15074928pfy.88.1547725459294; Thu, 17 Jan 2019 03:44:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547725459; cv=none; d=google.com; s=arc-20160816; b=G9cENNGKCBSJkHEBvYDXdge3IaYVuWwquJ0vmArD3T2q48PjlxF8GuO0AtLzE9Q5QC LHGMPjgYTWAndYvdAOSBas9Kkg8oHbR3nur1QX+2/eMnf7ZewxldQIa/Bnhk9Y0rPMc2 1t2hOJWGxHMgyDmKslK8LGisI8NJnhOQAdJbHgPlfKJbCDwJzEwlEnkAv7+nE2BJKKJ4 M4f8c7RRDaRwGxZDUh8a3RD2EyBpq0o7LP/V6klt2IIWF2Pig1ijoMpakDdkaXvSiD2U WAPe90YT08qqV6khRX/lIhBVnaphrJj5oqswsWxyIEbxpVlRJQv3is+ZkJxZwscHedcn ZlRw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fuOcZAM7poHTd8haY3Wn+y77cpNbUfn3SELEEgK1fSY=; b=KM+a85lwXhyqlziiVm9B+wfaZvImygTd1tyX5NqoBVtPqSlXjpSfU9JOzcYMZLE1ov GCSYJSH7bWwagpbnS3imBg0WfjvwWH4eB+Wn55NJZ5ZCugQOxDCe2esZ0WzQYymdJa09 Zp/e3EwpVMKz21MGEgYkRyVjzAiid3bSJAODvpX7t7L30xM+gdw2FT6toDyg14hTZIGe KIoZ9X9vwb15Pc2W1pHTqpg47wTabh4Zqu7zHRE6wm8ofIjl3hNw4JBN7ifTKHZVNHJ3 UP4xi67xH0XjCS+BVnJVe/LFmqakT0HW2pucctbLhdKnihAMre/XCO7pGRqa7KOBvPdh NLGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=cyPHnLBe; 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 x18si1468524pfm.39.2019.01.17.03.44.03; Thu, 17 Jan 2019 03:44:19 -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=cyPHnLBe; 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 S1728074AbfAQJGz (ORCPT + 99 others); Thu, 17 Jan 2019 04:06:55 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:48960 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727550AbfAQJGy (ORCPT ); Thu, 17 Jan 2019 04:06:54 -0500 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id CE7045C1E88; Thu, 17 Jan 2019 10:06:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547716013; 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:in-reply-to:references:references; bh=fuOcZAM7poHTd8haY3Wn+y77cpNbUfn3SELEEgK1fSY=; b=cyPHnLBehkwkgKFNHxBkDl7r+ybxH5hebN+LgN7t3z280yg+D/cU7ZIW8DJ4rhR8nVJPas hpMsL6v0gINu/OUtoolmt1KSytkIYBQn+vhrzP/KQ1/FsLG2DSOd5xuUYh2+d5ZDfj7Z06 LI4SVWXqlydNVf5ZK2fyTSAT/6h+9XY= From: Stefan Agner To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com Cc: fabio.estevam@nxp.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 5/5] ASoC: imx-sgtl5000: lower log level for potential probe deferral cases Date: Thu, 17 Jan 2019 10:06:40 +0100 Message-Id: <20190117090640.12972-5-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190117090640.12972-1-stefan@agner.ch> References: <20190117090640.12972-1-stefan@agner.ch> 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 Not finding the codec/SSI instance can be due to probe deferral. Do not print error messages in those cases. Signed-off-by: Stefan Agner --- sound/soc/fsl/imx-sgtl5000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 45969e6dfad7..b6cb80480b60 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c @@ -104,13 +104,13 @@ static int imx_sgtl5000_probe(struct platform_device *pdev) ssi_pdev = of_find_device_by_node(ssi_np); if (!ssi_pdev) { - dev_err(&pdev->dev, "failed to find SSI platform device\n"); + dev_dbg(&pdev->dev, "failed to find SSI platform device\n"); ret = -EPROBE_DEFER; goto fail; } codec_dev = of_find_i2c_device_by_node(codec_np); if (!codec_dev) { - dev_err(&pdev->dev, "failed to find codec platform device\n"); + dev_dbg(&pdev->dev, "failed to find codec platform device\n"); ret = -EPROBE_DEFER; goto fail; } -- 2.20.1