Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0f1e98b authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1427cc37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
		}