summaryrefslogtreecommitdiff
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-01-31 07:53:39 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-04 22:34:14 +0400
commit69706028b94f10a2dc0a28af65e84ec6fd38054b (patch)
tree3799da7571c424fbf2b4efdc78cf6434fcf13bed /sound/soc/atmel
parente08b273c38a7c049eefd72b9bbb2dcecb28f3956 (diff)
downloadlinux-69706028b94f10a2dc0a28af65e84ec6fd38054b.tar.xz
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.c2
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)
{
struct ssc_device *ssc = ssc_info[ssc_id].ssc;
- ssc_free(ssc);
asoc_ssc_exit(&ssc->pdev->dev);
+ ssc_free(ssc);
}
EXPORT_SYMBOL_GPL(atmel_ssc_put_audio);