Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1067845pxj; Wed, 2 Jun 2021 20:06:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdp0Sfacyzn09tGnzCruJABulsUsnNpN7Y+VB/FHAC/GrR/JOvgUQOuNQEJC4slwZ0k2IY X-Received: by 2002:a17:907:ea0:: with SMTP id ho32mr36291388ejc.396.1622689563159; Wed, 02 Jun 2021 20:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622689563; cv=none; d=google.com; s=arc-20160816; b=PHReWq8/K1UsQoXhi32Gl4lJCHNZz+D8DuMwoI7LEvYBDwj5HuFfDm7+8JfelRycdu RFBOp2pRA25QPKYECMyggCNIu1aFSfl1+5sYcAE7wUzYpX9h5acUsP9U/+mu3HPzQYW/ EilyCbrulmOr/jRCXgNZ7O1AKCC9Q+2D0LT1pbIT1CXAJKeZ8WBNH+6YtfqxUAOUSrYM sIgxTNy9fci6/zpLOUIfQlU2uPPQ9KaCLQmHt2Zc6Rn2+UOXQE4ArNLadAqwRz8Z4jzS 5L8LPUmxmpmIaPr/rs2+mdvLqaGQBFiSzDfveUtUkaz8Y/Hohm9vFu7uq8NF6M3WZuk4 cuig== 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:to:from:dkim-filter :dkim-signature:dkim-filter; bh=ROQTgs3jR6KqtGsQiGNvFAQlNnnJRWQm4j8P6+1iQ+c=; b=Pd7T1iFHK+6eASzL/NMFNX6/DCs+1oLjUnr9dbFBJIg+WzCs+yApxC5Ezr6XNueGGc mqvjAxB9VQ53WKoPPeI52mQ70kwOuoRJR0h2PNPJaIngp4OpDkiim3LO99ur61xtCc1C qSG+QnjNL+UTo4QS+Kf5Qfl6t2AssJDDjyDexFK8fCXmpg168gUW3ZUNfa0D0JEGGTzq NWToztDHW7DvOcF9ZAr9SpVmhu4UeMd3paNkPTNHB953ddAweXWLbQSACxzZyCKL8d8C meO8BOkChOsiRbpH2A5+hZlctj65tqUNLKegRR0i4x4JgQYRaBylWEMQnPYOg1VDTtrC KtUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=nselector4 header.b=qq0QLshf; 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=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 y2si1260030edu.447.2021.06.02.20.05.39; Wed, 02 Jun 2021 20:06:03 -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=@nxp.com header.s=nselector4 header.b=qq0QLshf; 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=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbhFCDCs (ORCPT + 99 others); Wed, 2 Jun 2021 23:02:48 -0400 Received: from inva021.nxp.com ([92.121.34.21]:58532 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbhFCDCr (ORCPT ); Wed, 2 Jun 2021 23:02:47 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 16D6B20384C; Thu, 3 Jun 2021 05:01:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 inva021.eu-rdc02.nxp.com 16D6B20384C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=nselector4; t=1622689263; bh=ROQTgs3jR6KqtGsQiGNvFAQlNnnJRWQm4j8P6+1iQ+c=; h=From:To:Subject:Date:From; b=qq0QLshfSFtIiBI2Sd0Vs3tF3tBX1/TJXogfzUCFt/DVp+meQPpzA+R40+OCUt8mN mnE3Icn7TJmp5HOi1qCjuw81PVhSuRNL1sBKRUe8kKwbWl3pzhB8ouMA8ffFPz9O5q xM3pLNbLY2dUuirWnP6CdCVb7Sgu4BceMm4vHdORrnnNnynp5L82VMfkHNKiZOLXpt AFOMqL4SA0OkMO2S45gt5gxIIva+bpo8Ri3dG57roy2HHtJT4fuQ2Fqm2i3V6M4nmK CBEruqvUCd5EtvSwcnVOIpO06ArYhUxW+JH3JrEurFThRQG+p9nal8t+BhS4+9az3c UcCaS9MuChK6Q== 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 A4C31203850; Thu, 3 Jun 2021 05:00:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 inva021.eu-rdc02.nxp.com A4C31203850 Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B84C1402DF; Thu, 3 Jun 2021 11:00:52 +0800 (+08) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ASoC: fsl-asoc-card: change dev_err to dev_err_probe for defer probe Date: Thu, 3 Jun 2021 10:43:23 +0800 Message-Id: <1622688203-12244-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 4f55b316cf0f..2fa371ec6b1c 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -709,8 +709,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