Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2904433imu; Fri, 18 Jan 2019 01:08:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qEtF8TdMfKrCDOcMSoAxbIBpzF5FrLdpD3CT5sFdB5SzXr0cm5IRzPlZmsJLYl15PmB7l X-Received: by 2002:a65:65c9:: with SMTP id y9mr17193813pgv.438.1547802526672; Fri, 18 Jan 2019 01:08:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547802526; cv=none; d=google.com; s=arc-20160816; b=iB6j6weCvnQndMadSy7UpGVeOBkNQD/m1L1Yj0c3hjPhQLHmcL2khNetn0SeKDWXm6 +i2QjmkIuF8LBIrmV5t1BeN6LtFnXjcHgJh7tc4CrAMitl2F9R3ADjgAhievqbfnyci5 W5nfncH6lpbp6Gz2RxedZpVa+Pyqw6flwO57GF4goMdomyMT7DkJa0fXWP2c0J0fx6cz SzmXrxdDvrA+USIBZm3FsiFRW3f3h4FubndrWHuYmDo3h8+ia1VSMm1SVglTGDbxJEkz PKlHCO74fYagh2pf7++VHNvaJgJcIf739T4qJ6pv7SZJeOHUXUF5uvpfZ9wN469rS8IL j4Ow== 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=Um8AGbM9+pP4QidLOOHMBFnuiPi+r0i4oYGsKdpib94=; b=ACJIcYoVJTuTc4gFRohSbPVEHIQdT0rxV9ME6DFzwhjAwpwLpF9GY3iRnDFG4I/txl +Ox41eUm0827CHLt/UTNU0b2bpCKZ5HVchYSideZJfYdgK8XmgD98LFV3fO5+5i3fPJz WLBcxPGUriQJScG8q40kOxU3R346cFBBf5/TqxXOM+oeG/266quApHz75tukY3t/Gwjv Lg3CURfK+QjYZNg/CMJYfjpBhzR+1+eP2GPxMg1MFNnlyXVWVpgPWbQevMbwcPtJWX9v ZgcMrPPs8LX3txTTDTkhisvy4pAInP63233CdnQXZJ1BWQOh45dheUMBY1JHKS/6hr5T GWWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=p1o1phgW; 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 41si4008064plf.347.2019.01.18.01.08.28; Fri, 18 Jan 2019 01:08:46 -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=p1o1phgW; 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 S1727039AbfARJHD (ORCPT + 99 others); Fri, 18 Jan 2019 04:07:03 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:33862 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726853AbfARJHB (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 C673C5C2724; 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=Um8AGbM9+pP4QidLOOHMBFnuiPi+r0i4oYGsKdpib94=; b=p1o1phgWiEFq4A+wl9CshidaKHEIj/CGQSEasGvTz86Vj36ex+ZluYloQAiaz6y+E47yNn uM2GEmShmeacuIMqUmkbCgFlsd9iN6sK2EsySVbErhxYZ5dgXx7nCA7Pu8BvAL8kGiG00/ +e9o3QiNFTStISZWzSkU2Ok+RhQ3nvk= 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 4/5] ASoC: fsl_spdif: don't print EPROBE_DEFER as error Date: Fri, 18 Jan 2019 10:06:55 +0100 Message-Id: <20190118090656.14201-4-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 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 Acked-by: Nicolin Chen --- sound/soc/fsl/fsl_spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 740b90df44bb..a26686e7281c 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1320,7 +1320,7 @@ static int fsl_spdif_probe(struct platform_device *pdev) } ret = imx_pcm_dma_init(pdev, IMX_SPDIF_DMABUF_SIZE); - if (ret) + if (ret && ret != -EPROBE_DEFER) dev_err(&pdev->dev, "imx_pcm_dma_init failed: %d\n", ret); return ret; -- 2.20.1