[alsa-devel] [PATCH] ASoC: imx-ssi: Say if we fail to register a second AC'97 bus
31 Jul
2012
31 Jul
'12
7:34 p.m.
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 | 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
4527
Age (days ago)
4527
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown