Skip to contentSkip to conversation

ASoC: pxa: Drop redundant probe error messages

PATCH In review [email protected] 2 participants 2 messages Aug 12 – Aug 13

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: pxa: Drop redundant probe error messages

From: bui duc phuc <[email protected]>

devm_platform_ioremap_resource() does not report the error itself, but the error is already reported deeper in the call chain, so the dev_err() calls are redundant and can be removed.

---
 sound/soc/pxa/pxa2xx-ac97-lib.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
sound/soc/pxa/pxa2xx-ac97-lib.c +1 -3
index d9c3935636da..d7f720431afb 100644
@@ -316,10 +316,8 @@ int pxa2xx_ac97_hw_probe(struct platform_device *dev)
 	int irq;
 
 	ac97_reg_base = devm_platform_ioremap_resource(dev, 0);
-	if (IS_ERR(ac97_reg_base)) {
-		dev_err(&dev->dev, "Missing MMIO resource\n");
+	if (IS_ERR(ac97_reg_base))
 		return PTR_ERR(ac97_reg_base);
-	}
 
 	if (cpu_is_pxa27x()) {
 		/* Assert reset using GPIOD_OUT_HIGH, because reset is GPIO_ACTIVE_LOW */
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 1 line · On Wed, 12 Aug 2026 15:43:11 +0700, [email protected] wrote:

ASoC: pxa: Drop redundant probe error messages

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/1] ASoC: pxa: Drop redundant probe error messages

      https://git.kernel.org/broonie/sound/c/79a883d53960

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark