Message ID | 1417499707-3125-2-git-send-email-jiada_wang@mentor.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4c9a8845f95e852a21fe6cffbd7912107d71619c |
Headers | show |
On Tue, Dec 02, 2014 at 02:55:06PM +0900, Jiada Wang wrote: > SSI component isn't unregistered if fsl_ssi_debugfs_create() fails > in probe phase. applied, thanks.
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index e695517..e19ed39 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1412,7 +1412,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
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: Jiada Wang <jiada_wang@mentor.com> --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)