From: Mark Brown Date: Tue, 31 Jul 2012 17:34:07 +0000 (+0100) Subject: ASoC: imx-ssi: Say if we fail to register a second AC'97 bus X-Git-Tag: next-20120816~50^2~9^2~30 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a0f1e98b34f22bb4055aebfc528bc9080b259f8f;p=karo-tx-linux.git ASoC: imx-ssi: Say if we fail to register a second AC'97 bus Saves anyone wondering what happened if they run into this error. Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index e174c1767c2d..3c520c46fa4a 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c @@ -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; }