mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
ASoC: fsl_micfil: Omit superfluous error message in fsl_micfil_probe()
In the function fsl_micfil_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Signed-off-by: Shengju Zhang <zhangshengju@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20200415044513.17492-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
46b7e2ff8c
commit
83b35f4586
@ -702,10 +702,8 @@ static int fsl_micfil_probe(struct platform_device *pdev)
|
|||||||
for (i = 0; i < MICFIL_IRQ_LINES; i++) {
|
for (i = 0; i < MICFIL_IRQ_LINES; i++) {
|
||||||
micfil->irq[i] = platform_get_irq(pdev, i);
|
micfil->irq[i] = platform_get_irq(pdev, i);
|
||||||
dev_err(&pdev->dev, "GET IRQ: %d\n", micfil->irq[i]);
|
dev_err(&pdev->dev, "GET IRQ: %d\n", micfil->irq[i]);
|
||||||
if (micfil->irq[i] < 0) {
|
if (micfil->irq[i] < 0)
|
||||||
dev_err(&pdev->dev, "no irq for node %s\n", pdev->name);
|
|
||||||
return micfil->irq[i];
|
return micfil->irq[i];
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (of_property_read_bool(np, "fsl,shared-interrupt"))
|
if (of_property_read_bool(np, "fsl,shared-interrupt"))
|
||||||
|
Loading…
Reference in New Issue
Block a user