Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1064579pxj; Wed, 2 Jun 2021 19:59:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznf8J/B+Ud5+x8DUyNfbhcSLbDIGAxiTOPAG4dTV0fbdoj+ebDCKSoR3xFD7KBWTUnFxzr X-Received: by 2002:a17:906:fcb4:: with SMTP id qw20mr15532395ejb.344.1622689193285; Wed, 02 Jun 2021 19:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622689193; cv=none; d=google.com; s=arc-20160816; b=IhM6BEFSCLW1gBocliG+QYUUUaEwfL+zLTMS/E3EEPeo/ov0M8UIUtCdMHddCRqPrm tMsEujC8APPsNgOqmy49f9M19aImu+eVb+9WIpWaFvPTvlWOJmHJJ0q9+2LCLUxkn/MG Sfm+oIR8nVUT3hBAXQMVl64wT0pK6uKNZ0WB6gmWVBGs4tpUhhEpQmiH088lh2ho1AiS 7XxtEVorJw5WPlb94oubI3byxanp0s/l9yupaYDOp6SD1cg936sLnw/JaBO/crRdRFrp dwavMBHbobw+JUKaQ/jvTxatqZUfoaB59lpghFQ3/6BOyp12o7JOQgWFAET7MkBYN8Xk OKoQ== 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=L3qETxpua5Szzx3IugrqwdN2RVBVS+htIlKHHGHgjcE=; b=VCcKmg8Bmax7KxB6/h8rvf7kEKW3QqMCeNdAK0V8Bwoy1Lxq6/Cq4G9mmMagyZbhzm mlnd6h1nsM7IyGYqvRnY82BMkWdwZq3r1oBLyuYHIeR7AlR4GYuLCUk9eKFDKf/s6XLv MSNbRQrwnywDxB592HuC5RvvX70QN/pNt7HtttD0RxJAj0OA9Ag7BhLotv3PZ4cniM0i YCx6crvpyfaz4Wd3gIw9eJ/Bg2dk1YNHRWkzj/6OZ2MWBgL7Ntzlo/LNE1spEiPPCWxd NanxacfgmcoO0rw8KyjGqOly6bACNNt+3aaMmMWKzh6bWS0Qs1GO9vKJOIHEZLuAB+VI vk/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lAu355Dg; 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 n17si1215541ejl.429.2021.06.02.19.59.30; Wed, 02 Jun 2021 19:59:53 -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=lAu355Dg; 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 S229871AbhFCC6G (ORCPT + 99 others); Wed, 2 Jun 2021 22:58:06 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:42861 "EHLO mail-qv1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbhFCC6G (ORCPT ); Wed, 2 Jun 2021 22:58:06 -0400 Received: by mail-qv1-f41.google.com with SMTP id u33so2501272qvf.9 for ; Wed, 02 Jun 2021 19:56:07 -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=L3qETxpua5Szzx3IugrqwdN2RVBVS+htIlKHHGHgjcE=; b=lAu355Dg9iol96NUognh3Z9XUcRdsebrjJDTLIdA0MB3bNopNWwQxCdRUYRX5sAb/Y cGUf0l8eVRCedzkRA6AGkEjrkmrHlWSm7nvbhYMMLu9iMNPphZ5SZ/a+Bpa5bo1aiYEo dIE2o8o3V3yvHP9fvL9p26aKPWF1n1rF1uiUk/ohboF9EEsQGAsVDBlQW58TXUp3RdAv Fvk6VaayMCGK4kT7U63ylfbABmr93wlLZ8IEFKsunB8FgRlvW0igaOt4Ss15ZGYruu2R oc0Y44YuKWQTykQrCrMj0huXHvbxsxHM3HDo28txiTevaaW241YRYpyfEsHTd6HFCrO+ puLA== 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=L3qETxpua5Szzx3IugrqwdN2RVBVS+htIlKHHGHgjcE=; b=RG1M99QwY7MpAxLKmXMJThSD9eJ6feuU8J2jZ8wZvjAYgkqFl66rXnoyWbXEh6BwJW MIn8oDKwLiKf+qf17AzcgQ4y7NzPlEvFD/P8vIOBstmtTQt87yKjZjjOc759Y11tFqAo Rz8IWRxguhOMNimM3UkZUz966zSYlwond16gDiADQvCuVFynjv8M5RVVIWUeCwAG+GZb FnfZK0a2xhVJhS9k8rwX5lgm67QTQ55+B+GwtDMc5zfiQzNZg6gwMS2vku8sFo0KF7pi PLxjJqAp2hV+52LX/KYxe+iI7Ohjq//jjy9Rq6AGeFQ/DjqYOIQgS+0ThnUx108xKqHv T6Wg== X-Gm-Message-State: AOAM531jVjjLkpjju80bghCBgJBweGciE23gxIVGtViH3TgmZTBvP0ny /HSR9KkWa29KPtdEGYUYExUbCuoykhKmzugC98M= X-Received: by 2002:a0c:dc92:: with SMTP id n18mr8866816qvk.8.1622688907466; Wed, 02 Jun 2021 19:55:07 -0700 (PDT) MIME-Version: 1.0 References: <1622616132-10391-1-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: From: Shengjiu Wang Date: Thu, 3 Jun 2021 10:54:56 +0800 Message-ID: Subject: Re: [PATCH] ASoC: fsl-asoc-card: change dev_err to dev_dbg for defer probe To: Fabio Estevam Cc: Shengjiu Wang , Linux-ALSA , Timur Tabi , Xiubo Li , linux-kernel , Takashi Iwai , Liam Girdwood , Nicolin Chen , Mark Brown , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 2, 2021 at 11:45 PM Fabio Estevam wrote: > > Hi Shengjiu, > > On Wed, Jun 2, 2021 at 3:59 AM Shengjiu Wang wrote: > > > > Don't need to print error message for defer probe > ... > > 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"); > > You may consider using dev_err_probe() here, which fits exactly this purpose. ok, let me update it. best regards wang shengjiu