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

Commit 4c9a8845 authored by Jiada Wang's avatar Jiada Wang Committed by Mark Brown
Browse files

ASoC: fsl_ssi: fix error path in probe



SSI component isn't unregistered if fsl_ssi_debugfs_create() fails
in probe phase.

To fix it, this commit replaces label error_asoc_register with
error_irq.

Signed-off-by: default avatarJiada Wang <jiada_wang@mentor.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ffa5310
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1410,7 +1410,7 @@ static int fsl_ssi_probe(struct platform_device *pdev)

	ret = fsl_ssi_debugfs_create(&ssi_private->dbg_stats, &pdev->dev);
	if (ret)
		goto error_asoc_register;
		goto error_irq;

	/*
	 * If codec-handle property is missing from SSI node, we assume