summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-01-31 11:53:39 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-04 18:34:14 +0000
commit69706028b94f10a2dc0a28af65e84ec6fd38054b (patch)
tree3799da7571c424fbf2b4efdc78cf6434fcf13bed
parente08b273c38a7c049eefd72b9bbb2dcecb28f3956 (diff)
downloadblackbird-op-linux-69706028b94f10a2dc0a28af65e84ec6fd38054b.tar.gz
blackbird-op-linux-69706028b94f10a2dc0a28af65e84ec6fd38054b.zip
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>
-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);
OpenPOWER on IntegriCloud