Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4278522pxj; Mon, 21 Jun 2021 18:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVIWu5Ihv7OfLZ2QDLtMxkU+cm577bydkLfRiPAem4ffyI3n8ULKUa+E+tYsMXSYW3BI2s X-Received: by 2002:a6b:630c:: with SMTP id p12mr755680iog.124.1624325582371; Mon, 21 Jun 2021 18:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624325582; cv=none; d=google.com; s=arc-20160816; b=w5hJ5CiLpM2Uo7W14RC6BlHzTrWaVVhLxSkKpKdakr2gDhOx1sXrn6mbgwkaOtvz0t 0l87GzLLMrdce46iamBuFy9kn0sfo0yqrtAd/pPc4x8cQt7AtBxXvTUibi4XLLCF0w0k U39MmZ7HQJBQ2BkeLv4MDyTylK3Xr7aB/ojF75QZhl4ru9AuZvbizSCK5F+NuulrKx3t W4Z9+XBDTN/8lva4f6Cojjzv+2IK08M+W4xoPtSuYd2Lcw9iU8+YE5B9tpIBlK4URsCk mMU7j/6CzwpAqRVOZ0vH7Gd81MCWywdFDvwqqGgU8bdAzoZZcpYx0+29EVJvW5zLqM05 uxtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=1sTXhvPwHvRhY2LhdmJZ9q/8HnbkACJhpJxsMDtDVNk=; b=FBeoxV0QTKpsu9xnbibh6NVkoyfsuPD6/Eld+DC+YIGtjYTXqhznnWKBPIy8brvicJ g25P7wsZo7RrOPQ8yXtyBASrTt40on5Bv1+s8dQiqZhhWOp2AtJeUzoo10cBAR168EBi fYdnFFe/RFGyKFJkKul8gKxXVySrrZ5CiV2KOWXHzj9b7Ohc0a9WFttOix8yazzzleTf qTHaReWfRPEXn8tziP1hdAK4CvPkTfNbl40CByJ1AJ4iZxC+8jTr/JJHG+ff6X4N2YEK NRMEgFtqs0w8HZGABK6ftCQvN/k0PEOOvyzKKt0dSnorD8SMfXjSVw64He+LqGhjWrbH m3Dg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si19232456ilm.103.2021.06.21.18.32.48; Mon, 21 Jun 2021 18:33:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbhFVBeM (ORCPT + 99 others); Mon, 21 Jun 2021 21:34:12 -0400 Received: from inva021.nxp.com ([92.121.34.21]:47644 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhFVBeM (ORCPT ); Mon, 21 Jun 2021 21:34:12 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 400242007C2; Tue, 22 Jun 2021 03:31:56 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 36CD02005D7; Tue, 22 Jun 2021 03:31:52 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id EBCB84024D; Tue, 22 Jun 2021 09:31:46 +0800 (+08) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH v2] ASoC: fsl-asoc-card: change dev_err to dev_err_probe for defer probe Date: Tue, 22 Jun 2021 09:13:15 +0800 Message-Id: <1624324395-7260-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't need to print error message for defer probe Signed-off-by: Shengjiu Wang --- changes in v2: - use dev_err_probe instead of dev_dbg 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 121e08c2af2a..24c890d76da0 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -708,8 +708,8 @@ 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"); ret = -EPROBE_DEFER; + dev_err_probe(&pdev->dev, ret, "failed to find codec device\n"); goto asrc_fail; } -- 2.27.0