Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp680261pxj; Wed, 2 Jun 2021 08:46:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCeXJJs/9K8Y3tF2oWciKpIqPkUdqUn+/Ougf9NXFSWh4GO0Vc9TFcP80ZGlG6RARMMJXN X-Received: by 2002:a17:906:9bce:: with SMTP id de14mr1463680ejc.353.1622648772140; Wed, 02 Jun 2021 08:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622648772; cv=none; d=google.com; s=arc-20160816; b=tIMOWwme+PlYJeh2NsSp0KOGj6Upsr6F3fPC/cI+JAoT+Y2xJppA5E8ntCDxB38qvG TVSfeFGXhUSwjpSdVgxddges2VoRkwapsl5dTvuI58ocMUYMzIaDhEb773Sd3YQK+JpU 83vMA4JtBulsxX0hhoBETFYRguVPKb6Ob7M8OYJF7w3C8qGhc6xyKp6BVl1AOL+50evo 1P5vboWzPkVcjrDtuLwe2k/4ShjZugwPTNAvQY9tioDE2gsFwgsGNJyyyQy96KBKpuf9 m02h0k5YOf+iwt55j9uJ5PJEh8n6AkgHF7uBJ6oh0hKgFruWftvY6eiBpGPqECBzkmjK uO0Q== 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=OBblrHGCs55cViW00rNijqacDYoorI2gMf91bLN8H6A=; b=o7Z00AR0bYQ6/EBC+a6ELsn/FkXmLuZGhcthYgPI3oGZ7Vi9JI3RMajh/mjYAICk3/ eSdskb7qs+2PWzhR+A09U9Km9AOBB5s5gSKqzopdaYlpkc3/fVD2iug0P+UHEIen/cXC yBsX8zQeBYAYeNSkboJq8QP6l/1Zaxo2aZILoytcUpxdKfN2qHvY+Uy4+cvdJR4KqMPB HS6JEck0SOnyn+4PufEbdHksYQbXbFUMvXkc7rAzEnZ2COgf11oOlsUopyq/Ep9wCBH6 FqUhzSnEROEcT0VZdTKPngxlVYUufIYg0fwZ8EiKiyFMprdjfKF5qGlmNnURJf5mA5tN 1tKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VstgI3Ch; 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 l26si241724edc.564.2021.06.02.08.45.49; Wed, 02 Jun 2021 08:46:12 -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=VstgI3Ch; 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 S232363AbhFBPqL (ORCPT + 99 others); Wed, 2 Jun 2021 11:46:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232271AbhFBPqH (ORCPT ); Wed, 2 Jun 2021 11:46:07 -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 1874CC06138F for ; Wed, 2 Jun 2021 08:44:02 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id f30so4134844lfj.1 for ; Wed, 02 Jun 2021 08:44:02 -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=OBblrHGCs55cViW00rNijqacDYoorI2gMf91bLN8H6A=; b=VstgI3Ch9IUJL9QEJ7w2wz1Y5FqrOIB5LeLRPYhI+Y+BW3jN0++iSF7+3gaFX0A/sD RKgw8wEnssMKzm8dlJHQYhh2CRYsTi1G3Mid27IGhB34PujdNlv2V5DXn0LJPRiaVfYh Zk93v5k0AldhWQ6prr+RBo9gkfik8nlv7GFHFPfjnrAMuH74yHNILeeDTwhmkq4DKVba +ZtthrbaGwljl5F0ZDVVw6qLajvIPWu38YgA35tvnX6sCE2+LE6Njxw6N28L7t6OqYx/ ruHTrgpVUz9kgqtx6Pw2ExDIOOyhOGBfMnpM7g/3adZgEoPgVWR3Pewt51pfjCiHn3qT oY8Q== 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=OBblrHGCs55cViW00rNijqacDYoorI2gMf91bLN8H6A=; b=FvTMhXUVEo5WftqzhrozsAOQ6OexrSbudA71Wi8ymy+8xWUERjJErjqGS92qyR1amt 4enfbMzk9CZu+/VdhwAGSeIfPLb4zlsbUidDjxNUIKx4Bwhqi8M5zTuhUSc3OE11zLO7 epZgn3dNJMiPyV9R4vtBbaRmn+FmVE/1ncOJs8gIU7dDQbXhe8cUxBbx0rwj8ylSpQfg 5JHDAg+jad5IDsd0cWkv0Ti9iO7lVq35KTRkgutNiYNO7FxGWaft7eAA2QdKKglPY/xX txujmBmxHJ6W37bsImuYBcXbul5RBCh0SaOeNrZAIPS3cscZ7Hbm0WvVTYG/eZGxmsex 079w== X-Gm-Message-State: AOAM531dM578YvK4ndtSxZ5fdMGOepldWVZRC+zJdMrWLj/dtjt0eZEF w79wP48gIFnmSywA8+nzANvC03Vda8VCZr74HNU= X-Received: by 2002:ac2:51a9:: with SMTP id f9mr5025625lfk.223.1622648641044; Wed, 02 Jun 2021 08:44:01 -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: Wed, 2 Jun 2021 12:43:49 -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 ... > 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.