Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2427882imu; Thu, 17 Jan 2019 14:06:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN72/qYXpdfN4T3sboz7Aizz0byywGXhKz56h78fBFZ/6ievoKB4IXgw0gFWl3grbQXdO7zg X-Received: by 2002:a17:902:6f09:: with SMTP id w9mr17043467plk.309.1547762778728; Thu, 17 Jan 2019 14:06:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547762778; cv=none; d=google.com; s=arc-20160816; b=YQIIipeReupM1xqEEWpR3ayjO3Ugx69mxSDyQrDl+/zNIpW2PV0cemyPP3zNe0CR0J 3EPZ4df/tJxFZKZIoDa4DTnsuUYfVDySJtARyTVw/0bn5unr6yye29WgX47p8vFDcGXX dKRE27BLY6x98sbZPoBRIu2xQiYcye6iANQ100s7kj5l7tXavS3mSkpE7AJhvBnsVu7t fQj0MCI7ACgxRdq/cct13NoadTeD3qazkrhZ+ENsQ23wIg2FnqN40W/wuLN8K9dQn1T+ /q6G6jJO5c1X25lWOX7VCIO1t7zugWpiUhFSg5MrLGdqVNa9mQdamexZUxLLwOEju7N/ ZI4A== 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=tgyzZ2qn4CP49J0i8O3gsF/sy9CXNfB2Ncc6bGQio3k=; b=w6sWKrUH1ayBmyDtmcriY54fU19KZl+kpbrwJW6S/wJs6D+gbPbsmkszzToIGIOgUi aZCxiDsKKPVzajasLaUUDbFIOeCLGC8+l5O9D575r//qwEZLt/DNVEjggtHHwXyivu4Q JWAOSYko6I8OAw7iuzrauUIT2CjLT5A0cG1y4ID+np4KFJdqD2vCKgrrR3X6TJ4d62So ui/14+z1ZEoAmAdJ5vWSyvmFeHofAmPJc0BeWAgtPuCrkFBiVTzlZqihYyiBk2PhWF4+ 2X+pGEGn3DtYTdkUjbc2Y23/0t9j+S3dekzTNnBHrGhUWH5y6a+t+BtSAprW6N4yxynl NyvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D9QL1chh; 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 c125si2769937pfa.216.2019.01.17.14.05.59; Thu, 17 Jan 2019 14:06:18 -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=D9QL1chh; 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 S1728158AbfAQWCA (ORCPT + 99 others); Thu, 17 Jan 2019 17:02:00 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33509 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbfAQWB4 (ORCPT ); Thu, 17 Jan 2019 17:01:56 -0500 Received: by mail-pl1-f196.google.com with SMTP id z23so5374492plo.0 for ; Thu, 17 Jan 2019 14:01:56 -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=tgyzZ2qn4CP49J0i8O3gsF/sy9CXNfB2Ncc6bGQio3k=; b=D9QL1chh5HqS2m6iVm2svhzJvsTUXRHJdyiXXH52luogDz6xTMtnjfiUl4UDquPl1r dGBOMSFeiSrixyskIPd/vCeoKl05VN8ETrMbpVtW6r8d/U8ne/LVs7tMbOkfaPfLMJJM ru3NcI+8tbJSq8ak47bt7qTP3ddAaq9rCjz+6RIn8gKr/BDM/L9eI0X/KU7vMso0hE93 aGgNxh93Mhu5LgNIsOJeAr8av2/HVoE03YcROeeIngq9HKj8SLgUu7PsnOqwqLRP8T97 FM9af68jaha3MnJub90m4DQoIieDKOtzeOWwdXvw+RCBjUMU5xGZ3qYurbzXqJSL5Pr8 /A2w== 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=tgyzZ2qn4CP49J0i8O3gsF/sy9CXNfB2Ncc6bGQio3k=; b=b6apFPDHgvj1HFEopF+f0GqnmvtzGAJ6CdO/IYR3u8SM489G92nadhY2edMghzQ3Kc z4dPxL2FzTNzJoonEyfB9CDsEUoWqI+v8K2sAPc7oyDlpnCgCpRIdIddbW7JpscHILV6 3ffWJxRuqvxG9B0exbRbPVH1JOHLs82kNFhlZkoDu7b65XMXhhpXQgSCiq5xfvY2r8lx ilho6LUi/lraINvozivFZCrtQhd0D+jgwwOVY6vNhPSE8OmnuOMni2OPxhUmC+Crf1RS LXDqNjlRAdxl8BTaYv0aKrBn56a0lt49VWiRFgMc88CccTbLzCQyVzDmr2NNIVPwzTg0 Fy6w== X-Gm-Message-State: AJcUukfJ/xp434T0+qhK654VTl4mIOPT+yTxtfvlMJIouEAHY8qebU+F AoQTe9V3qM7aEa8ADaME8WE= X-Received: by 2002:a17:902:2867:: with SMTP id e94mr16867120plb.264.1547762515663; Thu, 17 Jan 2019 14:01:55 -0800 (PST) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id 24sm10314479pfl.32.2019.01.17.14.01.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 14:01:55 -0800 (PST) Date: Thu, 17 Jan 2019 14:01:52 -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 5/5] ASoC: imx-sgtl5000: lower log level for potential probe deferral cases Message-ID: <20190117220152.GC16918@Asurada-Nvidia.nvidia.com> References: <20190117090640.12972-1-stefan@agner.ch> <20190117090640.12972-5-stefan@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117090640.12972-5-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:40AM +0100, Stefan Agner wrote: > Not finding the codec/SSI instance can be due to probe deferral. > Do not print error messages in those cases. > > Signed-off-by: Stefan Agner Acked-by: Nicolin Chen > --- > sound/soc/fsl/imx-sgtl5000.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c > index 45969e6dfad7..b6cb80480b60 100644 > --- a/sound/soc/fsl/imx-sgtl5000.c > +++ b/sound/soc/fsl/imx-sgtl5000.c > @@ -104,13 +104,13 @@ static int imx_sgtl5000_probe(struct platform_device *pdev) > > ssi_pdev = of_find_device_by_node(ssi_np); > if (!ssi_pdev) { > - dev_err(&pdev->dev, "failed to find SSI platform device\n"); > + dev_dbg(&pdev->dev, "failed to find SSI platform device\n"); > ret = -EPROBE_DEFER; > goto fail; > } > codec_dev = of_find_i2c_device_by_node(codec_np); > if (!codec_dev) { > - dev_err(&pdev->dev, "failed to find codec platform device\n"); > + dev_dbg(&pdev->dev, "failed to find codec platform device\n"); > ret = -EPROBE_DEFER; > goto fail; > } > -- > 2.20.1 >