Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1813899imu; Thu, 17 Jan 2019 03:46:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN4BsoE0KiJ8TPKq8gqp7dQK/yCvYDEKCPbkjX8GzfdVrDnZWWqrJgXwK8x73LeLjGrSZ/LU X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr13972986plb.70.1547725588692; Thu, 17 Jan 2019 03:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547725588; cv=none; d=google.com; s=arc-20160816; b=SPpIK/y3Nn4N/G2km/xlqaf2pCTjxL5tCsK84HaTyd0+wQhFkRjBBu3e6YPKEnyIz5 WlaH3ifN1am8JBAY8trr1jYeD42KDaA5Vgf3pQvmPySgQ1ZaNW/OoC+vuy9sRpTaK3W6 GGZ7+YIuVlmvtwoG2y3P2yaJbUQ7Ag0y4qGW8cH4r6kBvsPGV6rBUOf5yvlfA6OyTpUO 3mFCXs8iPPnYlDwN0UgYKhfH9DH4k55z1UYBftgo1pvbYMB3x7inoKQtYyGeb6gEOQBD mNvxAtJNwX5v4WdxIya+ftrjbdC1qXcYBeS3w7QcGyy/6YZo+Qzpi11k8TjC1oesE8N6 NAeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QJwzKcdcg0IDEcPZVYyjnbN0XcJLwhzLcPcTY/x1SLA=; b=yK+G9acEhUer6b8Te5deeLOfd8f4c4crdTJxZ+VEgw1dal/h1C9kOp6B/mupbwn/gZ T5mVBk4e26y2cpEF6Huq6PuBgECqbbAS/q8mNxBsBlw4Yl1lb21pDFRSrE/w6X+GFUmP nrxiOmVMmDIcmYVDBi7jez6JX7xzpVVDgHcngVBOqD4Di3zy3fRdZJ9QgT7p4jEZiXfg Lf0PWMty48hO1+kZmZARwBmghNPAgBRvmclTMaXi7ZK5il6byadWz822bP7085KSzOuu iPH86JSPuNBNtSLTfRUwVeO7GRjbjs48hL1FGg8NJZvAUMIZtTWzMlkftJCC0ouBz+JD gSaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="H8/PE5a2"; 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 n3si1486980plk.328.2019.01.17.03.46.11; Thu, 17 Jan 2019 03:46:28 -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="H8/PE5a2"; 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 S1727358AbfAQKBy (ORCPT + 99 others); Thu, 17 Jan 2019 05:01:54 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40331 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbfAQKBy (ORCPT ); Thu, 17 Jan 2019 05:01:54 -0500 Received: by mail-ed1-f67.google.com with SMTP id g22so7845833edr.7 for ; Thu, 17 Jan 2019 02:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QJwzKcdcg0IDEcPZVYyjnbN0XcJLwhzLcPcTY/x1SLA=; b=H8/PE5a2nOWCXMBzcrNWb4UHZxcwl5zoV7sNU7/abjfiU2l6UyLRkKnNxcA2ejsJ6G lukhaM14XN1a+Mln2rM4nQ/oqLpM1NUtai8GmYz+20hCP6RuHrg40jmybPnA4wtTPp3N QGHu5nqe29KFO6gbimM1evXMQH4OJPBWVszeuA9jqFdet+LjVDVKj8BdDvfmdZimSNze 6cjii4VgzkhTjxhuJ6NqTfXNJblJb3KXdgg7twlUOZxxPCicrmXczrfmGcgTxui7UfAd aJIX/XW7oC7Ad7TTRsfXeC7FaoT3Qo6USr7FKArEx/lyVs/0Dm8lX/OEgcgolK6kh6D6 VXjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QJwzKcdcg0IDEcPZVYyjnbN0XcJLwhzLcPcTY/x1SLA=; b=RqyiUwRPDEd/o8tkUXz28YjKxSBf/Uw4AiIL19NYWUFHRqsJNjXQ3FzDqFsW0j3iUT ePGNV/udVEV8o8PSDvVHc20Ye4ujsbdznLQt9ap9614Y0nYc9jWWLSRtHZu3EWYhETXs mJgplTjZb0N2C12yS6jz0jDcfVrPmKclgEX0ZpSZ7VOdGgmDAkU6/rw9+TEKf/smEC2v SJMOO4icNdKRV3CR0lehFxoVWp9BDPOW9jnjyTVJYj/GTVQDu5TZ4uTxOPvb/BY+B0l/ 66U8xlyNSaahCduj3jp627+PN4gBeHjLVyWuZrC9nuk855Up5lt2qUfclupTZQM3273g yL8g== X-Gm-Message-State: AJcUukesMTrAW4vQ2yuD/Qo/5xqhZu4cbNH5/+JBK7DDEQvQT8cTH0T1 okWOM/96LHC7rni/50Uzr9FbksAGrlk7ursVXIY= X-Received: by 2002:a50:81e3:: with SMTP id 90mr10842999ede.67.1547719312390; Thu, 17 Jan 2019 02:01:52 -0800 (PST) MIME-Version: 1.0 References: <20190117090640.12972-1-stefan@agner.ch> <20190117090640.12972-3-stefan@agner.ch> In-Reply-To: <20190117090640.12972-3-stefan@agner.ch> From: Daniel Baluta Date: Thu, 17 Jan 2019 12:01:40 +0200 Message-ID: Subject: Re: [alsa-devel] [PATCH 3/5] ASoC: imx-sgtl5000: don't print EPROBE_DEFER as error To: Stefan Agner Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Linux-ALSA , Linux Kernel Mailing List , Takashi Iwai , Liam Girdwood , Mark Brown , Fabio Estevam Content-Type: text/plain; charset="UTF-8" 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 11:07 AM 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 Reviewed-by: Daniel Baluta > --- > 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 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel