mirror of https://gitee.com/openkylin/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 <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
1427cc37b6
commit
a0f1e98b34
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue