Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2904317imu; Fri, 18 Jan 2019 01:08:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6jdMHQAbR7046Q6H8obwQNSo7DErMLJGyzD94wVgs8KU06Hqs6ynttxm/DF6EqFupdYa9P X-Received: by 2002:a17:902:f01:: with SMTP id 1mr17962145ply.143.1547802518961; Fri, 18 Jan 2019 01:08:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547802518; cv=none; d=google.com; s=arc-20160816; b=Hkk690hf5quDawzwQJSRLkXWt5svl+VtG9O1GTv6ttXQ+/iiNqvF5s4qttvotRpb1x 8gB0DTy9lpIu00JwuAI57XIOtakcIMEUY8zkcm60hURn3FqXcuvFA+B1+nNfv5cn49OT 5RHoL/kJxmgYusf70yyPCa2M4RU/G92NZUC5QGdptnLQQD4LWI6wYLFJoT9dnfoankhU oB8Jo90Mt2C5YfAplV+YrQx5M+F37s0ELfAVWVXqk7UxG4MLtuH0dz8mnraxk1IOJZwf eTQsGZpdVO2KfkVmVO74CuB2Pam7xjlCNy7EgYRO+9zOkvX7PMcKhPzhAQZB011iTpR8 uEWw== 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=Gd/hCGOakbk8VwgWfWHDTa07ipa+TanZN8pSUZmNCng=; b=lcXLTVicgC2ZfE3g8rIsI4FqgCApYYmrsf9t4GiMQGkbwA83s1TZu49Mq+1edv/YO5 18njeIDv1XbpJ5IiJXHhTXLZ3Wfztk6opH0js6WkTFvSSg6aF2xJyowOhqLmiyBcM/EK oiz4lkOWSSR0T70h1gd7xPxSD11ozdOA7TExw13uI446JUwZCIH6qW9EWw1pG90vCS74 qULcHITkFEsSNGPWHtYURQXLIqJLlP6LzmTC1Q3TTdyUBD68Eo8YyJZkFWo7Lxb2FFqR Pt6WsHYkZBPhsTTRJjFH/KWLEqbQbPZ0QsZtTgK7UqC/LvuRqeo9BK9SdaNclZzFVa/3 cKmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=Wzx6kKBF; 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 s62si4335134pgc.113.2019.01.18.01.08.23; Fri, 18 Jan 2019 01:08:38 -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=Wzx6kKBF; 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 S1726981AbfARJHC (ORCPT + 99 others); Fri, 18 Jan 2019 04:07:02 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:33834 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbfARJHB (ORCPT ); Fri, 18 Jan 2019 04:07:01 -0500 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 662F75C2718; Fri, 18 Jan 2019 10:06:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547802419; 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=Gd/hCGOakbk8VwgWfWHDTa07ipa+TanZN8pSUZmNCng=; b=Wzx6kKBF65l6quVxMSOvJ3oyy5Azgodtm90I/LXBkKmTG9682cORva4rCPtLdtBc0wLX9Y HRk77tOAWFmqXNEHaS2m7SdkW6tnHHBpdzxfRn1dXzBd8K+8b7OJ1x8SnjkvSoIM90MYe9 VBNNvqpCGVEBVWNkASM0ue9EoUIL4LA= 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 , Daniel Baluta Subject: [PATCH v2 2/5] ASoC: imx-sgtl5000: lower log level for potential probe deferral cases Date: Fri, 18 Jan 2019 10:06:53 +0100 Message-Id: <20190118090656.14201-2-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118090656.14201-1-stefan@agner.ch> References: <20190118090656.14201-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 Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen --- 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 594bde3b0ded..9790a2a8ec2d 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