[alsa-devel] [PATCH] ASoC: imx-ssi: Say if we fail to register a second AC'97 bus

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jul 31 19:34:07 CEST 2012


Saves anyone wondering what happened if they run into this error.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/fsl/imx-ssi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
index 28dd76c..6e8a8eb 100644
--- a/sound/soc/fsl/imx-ssi.c
+++ b/sound/soc/fsl/imx-ssi.c
@@ -566,6 +566,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_ac97;
 		}
-- 
1.7.9.1



More information about the Alsa-devel mailing list