diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2019-08-16 18:01:53 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:53:33 +0800 |
commit | f337340c236307558df0f79d28bc4e4177d6a8cc (patch) | |
tree | c266fd286704c3060e9757fed499db3f50be9619 /sound/soc/uniphier | |
parent | ab150b3f7c5606bce09b295e2a854559718f58ae (diff) |
Revert "ASoC: Remove dev_err() usage after platform_get_irq()"
This reverts commit cf9441adb1a35506d7606866c382b9d8614169b5.
Diffstat (limited to 'sound/soc/uniphier')
-rw-r--r-- | sound/soc/uniphier/aio-dma.c | 4 |
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); |