Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4301597pxj; Mon, 21 Jun 2021 19:16:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiD/YKouxjn1aZ1Lfyt578e/J45TPGiUsBluvE2uE+3RevgFc5GaGb04MrO4u7QfxSNtmK X-Received: by 2002:a92:d3cb:: with SMTP id c11mr936926ilh.126.1624328209972; Mon, 21 Jun 2021 19:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624328209; cv=none; d=google.com; s=arc-20160816; b=MF61vM31At/II4tdP909SYcOf8id80Bpdrxky/NYGzobgFS7eZS0khnL3Bl3VMS8DX 6VtyOEIUw8QPPvb0qORRHw0oDgBJwdtPTG+0/2Y2acGN/uHzDAiVg7ALlzamWZ7qQEFV WOjYyvvBN118XRYBxhzqBoHKf4CchA0668vMZzII0SyvahebkUFtc8gdLIbEJtZZTJiq o9EETsQLcyYI+0e2tqGJ+gsw5D98McbXtm1Kln8NVXArfxtzCwua2atNN8q+6LPIeHk5 uD0ahjfxVDEtAhyqDZg1CrUktJGWoI7CePcI6DySMXMXZmRsfJrDKNLM+zF3ciZJg0IJ BjWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=GpzA+s8lvFsctseOT+5uPm2562t7LAgE0eEfnLZ9Pnk=; b=CjFYJDuqIIlBvkWm7JEge9m1oRux6hQ7Ak0FEhP3BTtkA6Q+iLushQCj4dEF7BE3ZA qA+iuLnO87hFFhYY8FF6jj0whud8KuPXLjKpeHl5vxFU/HH8JT8ygv5+xWnstS/nN2Di gmxHO8MyYMO5902iRcp176AdO/OfjZeOkV1qZvMwbavVyTHgfvg19JuV658ObXe8Jsed 6tE6Un99Uku+Z0geDnyH5HUaYOoqp52OTOAM/FKx5MrFBGz07ejHQN+tVR/hfySnm9bg XPSjte8hCEpSs19VHJSixF4RA/E1ArJbTSKt0lkV58RUqmt2ZiNvvXqDBBIWXZu5OipO 22ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tu17vS/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o12si20608866jat.53.2021.06.21.19.16.38; Mon, 21 Jun 2021 19:16:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tu17vS/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231359AbhFVCSI (ORCPT + 99 others); Mon, 21 Jun 2021 22:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231389AbhFVCSG (ORCPT ); Mon, 21 Jun 2021 22:18:06 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D6A3C061756 for ; Mon, 21 Jun 2021 19:15:50 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id i1so6364762lfe.6 for ; Mon, 21 Jun 2021 19:15:50 -0700 (PDT) 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=GpzA+s8lvFsctseOT+5uPm2562t7LAgE0eEfnLZ9Pnk=; b=tu17vS/fM+jlMjiPABq2Ut09SAl1FccrJO20rnttQ86LkZwVvGSLjgGo8vxGraZB+v kcutcVyqy70RxIUm+t7V9u0WCu+u4UCChFwziU/vtJb1tgoogLW9puWtsEu1V4WE1FNU pxDnM6H40WkKN3Njroyh9l5FIe73uWL5VgMpjgHhGrS0+rCibtx8js7T39nxX/ceZbMT EFhCT8yG+uOKWPMbwxwQnOo1CpZxS7ZdV9XuZH1Zr9vfwHUVFqIzaILq9wWcPw23WUHt iFjiwhWNw9uQ9/HsH1yNmM9Fk2mEMytMkJ3R46w2DEBKYQfk7sKd9Vrkxi8lUhJI+1um mQjQ== 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=GpzA+s8lvFsctseOT+5uPm2562t7LAgE0eEfnLZ9Pnk=; b=kNI9Ipl51tibIgf6wZA2omI3O9kPFfPhPOnbvRNYLXwSr6LkHS1JvG99XFjnKgtj0N sPnSClYGmChoRFAzGxRMWPPctM0KPrQ4r5rd/UoRjBMfzwe4IBakKhCzfF5YIs2Aqg7J bR6o/G4QznuUFt5WmoUXiToh1xA3T/AMSQ8rEjfEXGiQRjNmXv/q/AcNhXgxxZB5onSF t1MIjJWACgyqQTu00QWwfEGTxRXTArmbpMoLJ073jb0jHMo0HhJMvniQ8WIgEycCTGup 6TGE8z9zJdlNleufzf+QYMOnlxzRnrX1u5IJ4o0NUpYpdKNBv/gBXDxEV+cGJEF8EHIL Y3QA== X-Gm-Message-State: AOAM530iEtFfE2ITOae08deN6yv4doMWp8PgsN1n0iPom1JxWb8zecek JEzEMz33djSbrrs0Gt2/N52kjWrg3JdOqK9LU94= X-Received: by 2002:a05:6512:3b24:: with SMTP id f36mr927384lfv.443.1624328148749; Mon, 21 Jun 2021 19:15:48 -0700 (PDT) MIME-Version: 1.0 References: <1622616132-10391-1-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: <1622616132-10391-1-git-send-email-shengjiu.wang@nxp.com> From: Fabio Estevam Date: Mon, 21 Jun 2021 23:15:37 -0300 Message-ID: Subject: Re: [PATCH] ASoC: fsl-asoc-card: change dev_err to dev_dbg for defer probe To: Shengjiu Wang Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Linux-ALSA , linuxppc-dev@lists.ozlabs.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shengjiu, On Wed, Jun 2, 2021 at 3:59 AM Shengjiu Wang wrote: > > Don't need to print error message for defer probe > > Signed-off-by: Shengjiu Wang > --- > sound/soc/fsl/fsl-asoc-card.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c > index 4f55b316cf0f..b40ba910ae9d 100644 > --- a/sound/soc/fsl/fsl-asoc-card.c > +++ b/sound/soc/fsl/fsl-asoc-card.c > @@ -709,7 +709,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev) > of_node_put(framemaster); > > if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) { > - dev_err(&pdev->dev, "failed to find codec device\n"); > + dev_dbg(&pdev->dev, "failed to find codec device\n"); > ret = -EPROBE_DEFER; This looks good: Reviewed-by: Fabio Estevam My previous suggestion of using dev_err_probe() would make the message never to be printed. Thanks