diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2021-06-24 12:45:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-12 00:48:38 +0200 |
commit | 8620c40002db9679279546cc3be2aceb8c5e5e76 (patch) | |
tree | ec2d97d4183ce3c959cab59c6e224dde295ad212 /sound/soc/fsl/fsl_xcvr.c | |
parent | ASoC: sh: rcar: dma: : use proper DMAENGINE API for termination (diff) | |
download | linux-8620c40002db9679279546cc3be2aceb8c5e5e76.tar.xz linux-8620c40002db9679279546cc3be2aceb8c5e5e76.zip |
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: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210624104505.13680-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_xcvr.c')
-rw-r--r-- | sound/soc/fsl/fsl_xcvr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c index fb7c29fc39d7..31c5ee641fe7 100644 --- a/sound/soc/fsl/fsl_xcvr.c +++ b/sound/soc/fsl/fsl_xcvr.c @@ -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) { |