summaryrefslogtreecommitdiff
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-31 18:34:07 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-04 12:18:02 +0100
commita0f1e98b34f22bb4055aebfc528bc9080b259f8f (patch)
treecac725f95ddecf84396f24bcbda7bbe23e17df1c /sound/soc/fsl
parent1427cc37b6c073e83309565bfebad25fb6cd9182 (diff)
downloadlinux-3.10-a0f1e98b34f22bb4055aebfc528bc9080b259f8f.tar.gz
linux-3.10-a0f1e98b34f22bb4055aebfc528bc9080b259f8f.tar.bz2
linux-3.10-a0f1e98b34f22bb4055aebfc528bc9080b259f8f.zip
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 <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/imx-ssi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
index e174c1767c2..3c520c46fa4 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;
}