Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2428698imu; Thu, 17 Jan 2019 14:07:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN5OsdiQWzRKOxUlDx6WXpRrVeonnAWEntDTksBfHTRnMr0mTQ9gqwZItmap2M26Ssg5yAsz X-Received: by 2002:a17:902:4a0c:: with SMTP id w12mr16777164pld.8.1547762836123; Thu, 17 Jan 2019 14:07:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547762836; cv=none; d=google.com; s=arc-20160816; b=Ci3s4db6XYVsraCmNGqQDdCsk9+/BHApha+H+KVc1g3F/xuaG24eVvBzyFxIyrcYnQ jkKgfl/KwWSglzOhM/LSlYuoKXwCRSoSzgecYDN3pO6XbSAUbdv5Q8Dsfc8y2Q59ZZlq m0drSY/kXwJ2hHgFJ7TWlJ/wZCMwaCAUjmg3Q/vPCxCgVwFnKIe9clRiMS4SPQt6sTgF KGgD/4Ou9eD5Awo5Rnze6TPTtrm/BSPifAiNpvtxr0K9n7l3IHGl+QRvhw2eK0n2fs2d JWpCRBcADIYbZG93hdvV4fsdkrtJiQREP1NuCEj9QhO5pWusXbt31BAwM3ZEI8ow0aP2 aJpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=B00rvx8w1qaGLmnjIVj3ZrmlkxjPJYojZcbSv08jglA=; b=c7goWINlbtDlClTOptBLHKpx4QdtNV/mmzif4iW+Y3q5W2asFoex1WsZfcVw7EPVpj 3SzzJN7u04M31VqCC9PR2aIxvG5WXJNvueJKxNid7Gcqb/tYmZjDN6Bd4BbSGLbwaxQW D4C2cUk3EBbYRqArVguX3wfbt75Hmwl8s5aZ5Z2sQhANv9ZcFvgeQPkKKHyD/8Jhrf3t BLgy+iiQFgBmYi+Ri0uA7Vcr0YuQ9obYuIFTsYQZRgqIQvSNdUGvy9Xn2Wgv49v2H5dZ H6PQfKc5T0xeFms7EbOy4cBmeT3bQZGZ/EWa+n14XPjKythHTsNAnL3wB1Huy2c/4dqP n8pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dhn0I3wj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si2870493pgn.258.2019.01.17.14.06.57; Thu, 17 Jan 2019 14:07:16 -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=@gmail.com header.s=20161025 header.b=Dhn0I3wj; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbfAQWDr (ORCPT + 99 others); Thu, 17 Jan 2019 17:03:47 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39000 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfAQWDr (ORCPT ); Thu, 17 Jan 2019 17:03:47 -0500 Received: by mail-pl1-f195.google.com with SMTP id 101so5351890pld.6 for ; Thu, 17 Jan 2019 14:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=B00rvx8w1qaGLmnjIVj3ZrmlkxjPJYojZcbSv08jglA=; b=Dhn0I3wjXpxaAoZqlX3fUvgHycKhvr7li4c3BoGjNWsajKQ2RVRRMaGWOjPKHX9Tu8 RGOxgg43rR5jLm85G0P2OY8zFDKCHiGFYv35wzKMpSq0DtY/X99SARcrieaYnOledOxi 6tkX3SqmVNe+EIRkZYuvTi4y63FxPVu13ACuCCexz5i8m1bzMGUBbwf8ACtXIEZdgvzC TRUdIQ3OUNdhuRN+OeErx1KnV2u+IzOnXBNtW2Kl8ac0xvTJ46Uj1bXR8rgxoAW1eeiV synpe2dJdgR0RLlxlhsWZWp6wPwITVduL3+ERCx4x7ROHjD22fWjKsLPGO0BuTaduw2E EZiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=B00rvx8w1qaGLmnjIVj3ZrmlkxjPJYojZcbSv08jglA=; b=CrxIi5LanguKgrTdgD4SYcmizlNpUcrw61GjF9a5SmfwY3dZBixD7XZWgII3jExF7a gB655ipt+CGYVAt8f7PSAk/XSedqV+YS077c08itFS2zxVHaIWdmeezTH4obYXnN51cO AWPDKsZ82KSJNfvIspWwDjCuyTeHikXP9yQ43uIFI/us2pa8DMoggZ8mrgwSxN59ldVf NjA6xMJVQA5U8K5EWBdqcaEOuX9hgxHqlQtNYmWtPDpaOKJlD5r2/OjI9zWVi0qsac9b GbeVpAh1/zDNXhzQAdI9uIg1IO9eLUI3mgSu42yBiyneiEX/cZE//+cgGiylWvPynhP4 oIPA== X-Gm-Message-State: AJcUukdjHUKg3c0UEJ8WSNJyVE9EvUKfgFDClCfxdAmPy9V+cKXiWng9 WwfGPu4vWs4/JKFFFSDeaLA= X-Received: by 2002:a17:902:e20b:: with SMTP id ce11mr16160537plb.251.1547762626464; Thu, 17 Jan 2019 14:03:46 -0800 (PST) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id l22sm3705765pfj.179.2019.01.17.14.03.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 14:03:45 -0800 (PST) Date: Thu, 17 Jan 2019 14:03:43 -0800 From: Nicolin Chen To: Stefan Agner Cc: timur@kernel.org, Xiubo.Lee@gmail.com, 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 Subject: Re: [PATCH 3/5] ASoC: imx-sgtl5000: don't print EPROBE_DEFER as error Message-ID: <20190117220342.GD16918@Asurada-Nvidia.nvidia.com> References: <20190117090640.12972-1-stefan@agner.ch> <20190117090640.12972-3-stefan@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117090640.12972-3-stefan@agner.ch> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 17, 2019 at 10:06:38AM +0100, Stefan Agner wrote: > Probe deferral is to be expected during normal operation, so avoid > printing an error when it is encountered. > > Signed-off-by: Stefan Agner Acked-by: Nicolin Chen > --- > sound/soc/fsl/imx-sgtl5000.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c > index c29200cf755a..e1e20499b2f1 100644 > --- a/sound/soc/fsl/imx-sgtl5000.c > +++ b/sound/soc/fsl/imx-sgtl5000.c > @@ -156,7 +156,9 @@ static int imx_sgtl5000_probe(struct platform_device *pdev) > > ret = devm_snd_soc_register_card(&pdev->dev, &data->card); > if (ret) { > - dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n", ret); > + if (ret != -EPROBE_DEFER) > + dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n", > + ret); > goto fail; > } > > -- > 2.20.1 >