Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2417622imu; Thu, 17 Jan 2019 13:54:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN5GQq43fQhWdDgGpZRhI0EkNtgucIMMRF75JVhAN2JIydcWtHGmU6bdGdlVI+bazFAtIhu0 X-Received: by 2002:a17:902:7896:: with SMTP id q22mr16861719pll.280.1547762068350; Thu, 17 Jan 2019 13:54:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547762068; cv=none; d=google.com; s=arc-20160816; b=s8FtxKL5CTY8XuVdY8ED+8ctV5gViopwOMTG4qFbsWI+xD7jE8Jwr3SUXy4TMMX9fn h6RzHeLTRlirYkHLrbolbktJuooWzRuCyckxop6Z8bc6AQFqXT8l65Zh+57GxBi30OC/ VNjkODtf4zfZpzr7+fpJ23qyvQGlSv6LhxgHQtDDnco0ppwNt7e41l7NLbwHRLCofDk2 NfDXtv20e22YGXa5J/H46UMa/oj6ra+3zVrjub/X7LYGOzb4tDb8E/4n8bhzW0lVqFtv tcmCq8IhwFxC42k4lUQajb4W7aZ7zQ4CkefAF4WDOJZ/8jsIyIDdAjaHyjv1aMXz3AwK SnOg== 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=NHUsbp9tuoBt7tyqG8KfIUlUd2m+SP3Ifiu6qGhDUB4=; b=FILw6Bi3Iyn9MMGoFmrPcZwl/wssmTGXlTOQO2OBOgDsg6xALISqaVLzImKw09x+J7 g2Qh7FwL69DxW9saq18jvSMeaNir/dCFGrTezaeEiy+l5wQpcAm/1He8OCaw+1hKu6p1 HvcWyTPXx2UtPbM8x/s6L8jlN/khWuLYowlQWlZAARPvOq+QXYX9csmit92GsxNiUpnV 93iZAyoLr4D0W+ic6IUrnYgUsY75gwMNTemQYIOTTiXZhMA83W/l/2UswOgOO02vfKDP MiyLYQnYh6RSCDo1whsQjXUybA5K28qGsqFxCrAUW4yO2Yr2uNGuj/vC4eqhM67xUiik 3pAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fOPPOH0t; 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 v14si2988851pfc.76.2019.01.17.13.54.08; Thu, 17 Jan 2019 13:54: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=fOPPOH0t; 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 S1727375AbfAQVws (ORCPT + 99 others); Thu, 17 Jan 2019 16:52:48 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41436 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726809AbfAQVwr (ORCPT ); Thu, 17 Jan 2019 16:52:47 -0500 Received: by mail-pl1-f195.google.com with SMTP id u6so5328533plm.8 for ; Thu, 17 Jan 2019 13:52: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=NHUsbp9tuoBt7tyqG8KfIUlUd2m+SP3Ifiu6qGhDUB4=; b=fOPPOH0tpgHfcDcYZAXZgGVlmE1T8nIx5qSPQ8WDF1zoAFhhNcmE0jccuiTT3ranJZ mVPEXJ/0usoejMKPg3N31hD7KC6Ntf2jE4H4OrqZpPQr2NBY+rwIte2PBXllJalB4Bkv 3ITorYNKiiaKnvKJfOEKIkxPwP0rk5yLW56lzJeiWz/hxZEru5ZvSP84CJY4pjg6g3pk PmrdlWlzIBPepw3/6fTrU19M9mdrQGTLHEaLE8ugg6ipw+Lc+IfOriFQ44RXxo27hwQm iZyPLR3r2+5zaw3PSt4+Y08qn5WpZkN598dl3NqECms27CcTmfpbzVp91QUJ0w4AVBOz FkEA== 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=NHUsbp9tuoBt7tyqG8KfIUlUd2m+SP3Ifiu6qGhDUB4=; b=JgO5dFejmQAZ8CQIVOq3JCfRTgV0+P6ug8K+EHphgZss76BVIXHgZ53ybOtaBqCczf d6ZMRVhz4TOCTE+roed7qQQw+5IQudXB2Mju9/LdZ4HCxfGykBsJDIOJb/u+p+FdbiFq s51vGqw/RdTxPnfSVaiv+XYN8qWhUtjVLnKfINbb4CWmvKLu+wA70u4b4zU8DdVh8U7a pqp9lB+V99yFfexnY8zB+dFPL+OXzmh9RvYQUxvfCfQoZeSJTVdksKlPrHse04iFaMD2 4y8JjOSVUMII/LhDeFcuYHvumbPFwApmyLdvfZWbSY82SLG62SHGcF2e0cCqQsSckOJN BRMA== X-Gm-Message-State: AJcUukfBprp89PYZfh/pJyuHIzXf8FTpsQ1vor0BQvCPXeG7mXdQBMJN W41VNCZ+kSTE/NVMzsaGyrI= X-Received: by 2002:a17:902:2868:: with SMTP id e95mr16665182plb.317.1547761966696; Thu, 17 Jan 2019 13:52:46 -0800 (PST) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id j73sm406546pge.13.2019.01.17.13.52.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 13:52:46 -0800 (PST) Date: Thu, 17 Jan 2019 13:52:41 -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 1/5] ASoC: fsl_spdif: don't print EPROBE_DEFER as error Message-ID: <20190117215240.GA16918@Asurada-Nvidia.nvidia.com> References: <20190117090640.12972-1-stefan@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117090640.12972-1-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:36AM +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/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 >