From f337340c236307558df0f79d28bc4e4177d6a8cc Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Fri, 16 Aug 2019 18:01:53 +0800 Subject: Revert "ASoC: Remove dev_err() usage after platform_get_irq()" This reverts commit cf9441adb1a35506d7606866c382b9d8614169b5. --- sound/soc/fsl/fsl_spdif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sound/soc/fsl/fsl_spdif.c') diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 7858a5499ac5..4842e6df9a2d 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1248,8 +1248,10 @@ static int fsl_spdif_probe(struct platform_device *pdev) } irq = platform_get_irq(pdev, 0); - if (irq < 0) + if (irq < 0) { + dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); return irq; + } ret = devm_request_irq(&pdev->dev, irq, spdif_isr, 0, dev_name(&pdev->dev), spdif_priv); -- cgit v1.2.3