Commit 69706028 authored by Bo Shen's avatar Bo Shen Committed by Mark Brown

ASoC: atmel_ssc_dai: correct sequence when unload

correct the sequence when unload this module
Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e08b273c
...@@ -778,8 +778,8 @@ void atmel_ssc_put_audio(int ssc_id) ...@@ -778,8 +778,8 @@ void atmel_ssc_put_audio(int ssc_id)
{ {
struct ssc_device *ssc = ssc_info[ssc_id].ssc; struct ssc_device *ssc = ssc_info[ssc_id].ssc;
ssc_free(ssc);
asoc_ssc_exit(&ssc->pdev->dev); asoc_ssc_exit(&ssc->pdev->dev);
ssc_free(ssc);
} }
EXPORT_SYMBOL_GPL(atmel_ssc_put_audio); EXPORT_SYMBOL_GPL(atmel_ssc_put_audio);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment