diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-01-30 22:53:39 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-04 13:34:14 -0500 |
commit | 69706028b94f10a2dc0a28af65e84ec6fd38054b (patch) | |
tree | 3799da7571c424fbf2b4efdc78cf6434fcf13bed /sound/soc/atmel | |
parent | e08b273c38a7c049eefd72b9bbb2dcecb28f3956 (diff) |
ASoC: atmel_ssc_dai: correct sequence when unload
correct the sequence when unload this module
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 5cb849825a04..e13580d6c476 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c | |||
@@ -778,8 +778,8 @@ void atmel_ssc_put_audio(int ssc_id) | |||
778 | { | 778 | { |
779 | struct ssc_device *ssc = ssc_info[ssc_id].ssc; | 779 | struct ssc_device *ssc = ssc_info[ssc_id].ssc; |
780 | 780 | ||
781 | ssc_free(ssc); | ||
782 | asoc_ssc_exit(&ssc->pdev->dev); | 781 | asoc_ssc_exit(&ssc->pdev->dev); |
782 | ssc_free(ssc); | ||
783 | } | 783 | } |
784 | EXPORT_SYMBOL_GPL(atmel_ssc_put_audio); | 784 | EXPORT_SYMBOL_GPL(atmel_ssc_put_audio); |
785 | 785 | ||