summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier/aio-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/uniphier/aio-dma.c')
-rw-r--r--sound/soc/uniphier/aio-dma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c
index e8446cc4e8f8..862346d66774 100644
--- a/sound/soc/uniphier/aio-dma.c
+++ b/sound/soc/uniphier/aio-dma.c
@@ -289,8 +289,10 @@ int uniphier_aiodma_soc_register_platform(struct platform_device *pdev)
return PTR_ERR(chip->regmap);
irq = platform_get_irq(pdev, 0);
- if (irq < 0)
+ if (irq < 0) {
+ dev_err(dev, "Could not get irq.\n");
return irq;
+ }
ret = devm_request_irq(dev, irq, aiodma_irq,
IRQF_SHARED, dev_name(dev), pdev);