Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1812506imu; Thu, 17 Jan 2019 03:44:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN4ytk6LqQKvcqOr6Appo76PBD4qMhbQvDfz4G7yWo8EqZvj4kHAWUj9zYpPVQFDWCzFDE0o X-Received: by 2002:a17:902:28c1:: with SMTP id f59mr14666223plb.37.1547725489263; Thu, 17 Jan 2019 03:44:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547725489; cv=none; d=google.com; s=arc-20160816; b=VggsFhPVcdZO++zh4Mf6bjb2bON/jsDAWkg6ImiqaJo9KUkCPYF7SWbxsTBTHMa/DS sUOu6AvcSscXlaXD5IIN81sJGVDHGIGy5pz6hSEKeMIghHNc8i/nzRcsZ4nTQJRATqg/ pw3pNSHV7BAg5mxC2UJhyX0xfofQtn0sUFpxFx71cp7phv3ILmeDhjxjejxCGQkrPlaA BUwLW/OKPubVGllT7Wecgvc0lw8kCqGxQ/MliQb3GDkqKw7pJ0/mCOSQ60fgYMy3WwX7 Sx23F77iiz/Wxr+08eqvBGmFt4t4/TWdpNIfQ/PSQEFpY6tuyuvStB9TmDnDv1P24Ep3 3uMA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=HPBIAXrS7boENJgXPcjFZugFoSd/FSnF5gic8JEbX20=; b=uvy0PuNC2DHCEzcqRR7jRe5nFBYqOr/tS57XuWgF6hNlyGSD+AvAKYdrZky3EKlT0b JprqEM8aYI9oIQokGb35ZhJXFCvNN5t8KlzdAYM2vG409HRUH80q6OD9hP+YEWeFbK67 LNPGIpINwrUQNe07Y/D/k0zKscELfuZkHU7M4y84ofztV97+PnQIOILvHbed9edlQwbt uBbkoZnBalhasa98t5nPuUDEguKpKSVoKBvm8DSCLw2Sq50u5ppVEIB6utsK7UPgwwcN Mxl3uEyh8ztiNAlzb+BVIPsW3ZASG8FkzPI447nnAgv1YQ4l3u+naG32zGQsCRVRZLhn CQyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=0QIKrPL1; 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 m2si336868pgs.96.2019.01.17.03.44.33; Thu, 17 Jan 2019 03:44:48 -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=0QIKrPL1; 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 S1727941AbfAQJGy (ORCPT + 99 others); Thu, 17 Jan 2019 04:06:54 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:48896 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725928AbfAQJGx (ORCPT ); Thu, 17 Jan 2019 04:06:53 -0500 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id C74CA5C16CE; Thu, 17 Jan 2019 10:06:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1547716012; 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: references; bh=HPBIAXrS7boENJgXPcjFZugFoSd/FSnF5gic8JEbX20=; b=0QIKrPL1XNz1rdmdLzzA9ZJvJksIDrHuliuW8vHSYP5fk4Vraw5DVqButprmIdTnQOv4iT lKuxDjB9vYof/BmB7rRqp4if5Ky8pmt2k8pgmeJe/jr+e9qCcvWBkCKruJE9hzKmDI4p2i Hx1Tj/42nC26/B/dtlIx4Vfw64Hodvo= 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 1/5] ASoC: fsl_spdif: don't print EPROBE_DEFER as error Date: Thu, 17 Jan 2019 10:06:36 +0100 Message-Id: <20190117090640.12972-1-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 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 --- 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