ASoC: imx-ssi: Say if we fail to register a second AC'97 bus
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Jul 2012 17:34:07 +0000 (18:34 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 4 Aug 2012 11:18:02 +0000 (12:18 +0100)
Saves anyone wondering what happened if they run into this error.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/imx-ssi.c

index e174c1767c2d1dae5de24ddb35e4e080141cc9ad..3c520c46fa4a040086ac500173ae24d5096ee28b 100644 (file)
@@ -560,6 +560,7 @@ static int imx_ssi_probe(struct platform_device *pdev)
 
        if (ssi->flags & IMX_SSI_USE_AC97) {
                if (ac97_ssi) {
+                       dev_err(&pdev->dev, "AC'97 SSI already registered\n");
                        ret = -EBUSY;
                        goto failed_register;
                }