From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BB5038D412 for ; Thu, 6 Aug 2026 05:22:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993771; cv=none; b=cPSgciaQLmzp+0l0elbRXRIEMcxuzzdI/qOD9UTCQ3GiiLavjrEi4/Fr7amgHjp1gcV3Z8xqKx+BaeSKBg2lfEYXgaxqOPLcjm5Cdbljc4F3NAoYz+H39aV0r2NwDvrplQVY0SGHVyyOuFUd3qnGOh7kM61Tw7ZYNaz9MwjqN1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785993771; c=relaxed/simple; bh=uht1wtGkO3dc/GBpw/WuVtCYhBwXB0XSudDAS5+3MPo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HTdasY7t95gSLMDnEVdT6TuBA5FaUE7681SHQ2POWa3sdhEeNK9BV2j7qdSnNQpqMOKbq0ZwXjnzzMs6jJrOBkdxIUUjoRLyv/Ft/hVu2MV+7p+CF2WZS3SvMQbtHZK2MX7OlkCnGJPqnW+kSC2UjmYGjbQ+NZF5/CIGGhwBfzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lDGb2g8y; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lDGb2g8y" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-84a4d8fd6ecso2203898b3a.1 for ; Wed, 05 Aug 2026 22:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785993769; x=1786598569; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0hWHLReiVEFXDAdvhyF4GcFfDKUrHwAoJwgfx7kXGn4=; b=lDGb2g8yIPHj9B5rI5WIs+/JX7vvFbZ8a16fiehgnAIfuu2DF9MiAeW/gmGURYd+Kb uwXETm8YTssTlWrzhM1Oyuh+2pbILqxL6KwBkZLh82twisOHxK19eT5VPLCDjlDQzER4 4X5uF4yqW/d+duIt/ymu3mt2OnOPvy+qf2DopF/VBo8edsE+Iweybgdsat+QtYm5Aw9a sah64txlhEyNSY80lscDIff0sWKdUPZVpLSSc9LABwFZk08JC+qfqXL0Vid78NhdNnQx Y/aUMrYmce/AFZ2xG+sxQqa/9IsDXp7pTZ1ghxtSD8k2IO5RrDmqHfowSkTKpbKZw6IL u0+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785993769; x=1786598569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=0hWHLReiVEFXDAdvhyF4GcFfDKUrHwAoJwgfx7kXGn4=; b=m+iN7eQ1AOkfAovZkniCY8Alpa5TB4HzxjWm6PejWCNwsn68hShtsiMZh1gUOQI2AY 66YaIcW8e5bsWet+EMNQOdMT1dchxOwLSp9MNHtnE+vkGnXTQkeMKrZzgC0wuLnTYFnf /cheB78Zuziishg/aBjuJsAMtaUNdHOiePpKdl2DAB3gAmilAvJi3qsq01+sxFuhFGgC xK0ffRmyZnS7jbTnrtF1mzHqqyW1nlqwanew4vZ/X4SP5RZQ8BeybcavfJt505ZSbc1O fonK0EWVJ+4SnN6KMQ4yd6eVtv+7N+7pyEF/hsDvfceMOFjRj5CIL4Wr0H+luQkoGAMO VPWg== X-Gm-Message-State: AOJu0Yzlu7qvocYbi0gUAqNnYFnWw+huCGzaP2GWuib/q6vEb1vO+98j Ht8uPLIxJLazEkzTwXSiCFcAkBu7xw1G9skmjZlOiyKvuNPLsg8rWAQf X-Gm-Gg: AR+sD11nGSAAF97tlE9sYBKVgrCmzzl5kqtOnGGz02+QVEvnvTBGSZiPPN26mhslhzJ 5Pxhmndo7u911VGaswu3PyCthYulvgBG6ia4QbRnmm8bD1MELQCRQPIP8gJYgIS3Z58Qi8Pa5bW eXHW0Dg1F5tfwaKDeYRqEKkxTgXhujdmx70RxIO+z9QTkSIFHSjQeQpJTPzrBO5abFiYBbHvmtd MxoLtblRC7hqt17RmTY91CyPS7EfydqRxQGmvr4Jewh8WboKPFAaQU30t8T4KgwqQ3rLHBhv9jn 08q9HVsLIaZhDjJoVzH1rMQoOZBwbVWvQVplki1SNM+AlDuy6UTLmZsKI/zr/1oi8+7jhwmSD5X Qa+cKqmouLOZoVs1Uhyco3hWKJ/lGixjF4DP0RIP7QTGKHrltSOfU73dc4dZRC5OLyg5wyb9M76 H+IkpJuNhQxfsSeKJRhJ/Un58Z+HTsrQOG/O3fLCjexmNcJ2nNTTbhp88qpRJEuNJnNC5IVFFth JC65IrrcWyrFsieKMzSjxkaBLnjDkpcIrVeAdecaClqosyrw8MseSVvLviGaHfK+pFAqhFDOCNp qaOB X-Received: by 2002:a05:6a00:2295:b0:848:62ab:7b7 with SMTP id d2e1a72fcca58-84f2e0402b9mr12960128b3a.16.1785993769555; Wed, 05 Aug 2026 22:22:49 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84f45bc9cffsm554279b3a.59.2026.08.05.22.22.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2026 22:22:49 -0700 (PDT) From: phucduc.bui@gmail.com To: Mark Brown , Nicolas Frattaroli , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , Nicolas Frattaroli , linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bui duc phuc Subject: [PATCH 09/14] ASoC: rockchip: rockchip_pdm: Drop redundant probe error messages Date: Thu, 6 Aug 2026 12:21:31 +0700 Message-ID: <20260806052136.21034-10-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260806052136.21034-1-phucduc.bui@gmail.com> References: <20260806052136.21034-1-phucduc.bui@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: bui duc phuc Remove the probe error messages to avoid duplicate error reporting, since the error is already reported by the called functions. Signed-off-by: bui duc phuc --- sound/soc/rockchip/rockchip_pdm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c index 115e90d3bbfe..343fda478901 100644 --- a/sound/soc/rockchip/rockchip_pdm.c +++ b/sound/soc/rockchip/rockchip_pdm.c @@ -630,10 +630,8 @@ static int rockchip_pdm_probe(struct platform_device *pdev) &rockchip_pdm_component, &rockchip_pdm_dai, 1); - if (ret) { - dev_err(&pdev->dev, "could not register dai: %d\n", ret); + if (ret) goto err_suspend; - } rockchip_pdm_rxctrl(pdm, 0); @@ -642,10 +640,8 @@ static int rockchip_pdm_probe(struct platform_device *pdev) goto err_suspend; ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); - if (ret) { - dev_err(&pdev->dev, "could not register pcm: %d\n", ret); + if (ret) goto err_suspend; - } return 0; -- 2.43.0