Unverified Commit 8620c400 authored by Tang Bin's avatar Tang Bin Committed by Mark Brown
Browse files

ASoC: fsl_xcvr: Omit superfluous error message in fsl_xcvr_probe()



In the function fsl_xcvr__probe(), when get irq failed,
the function platform_get_irq() logs an error message, so remove
redundant message here.

Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210624104505.13680-1-tangbin@cmss.chinamobile.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d5bb69dc
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1189,10 +1189,8 @@ static int fsl_xcvr_probe(struct platform_device *pdev)

	/* get IRQs */
	irq = platform_get_irq(pdev, 0);
	if (irq < 0) {
		dev_err(dev, "no irq[0]: %d\n", irq);
	if (irq < 0)
		return irq;
	}

	ret = devm_request_irq(dev, irq, irq0_isr, 0, pdev->name, xcvr);
	if (ret) {