diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-01-31 11:53:39 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-04 18:34:14 +0000 |
commit | 69706028b94f10a2dc0a28af65e84ec6fd38054b (patch) | |
tree | 3799da7571c424fbf2b4efdc78cf6434fcf13bed /sound/soc | |
parent | e08b273c38a7c049eefd72b9bbb2dcecb28f3956 (diff) | |
download | linux-69706028b94f10a2dc0a28af65e84ec6fd38054b.tar.bz2 |
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')
-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) { 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); |