From: Bo Shen Date: Thu, 31 Jan 2013 03:53:39 +0000 (+0800) Subject: ASoC: atmel_ssc_dai: correct sequence when unload X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=69706028b94f10a2dc0a28af65e84ec6fd38054b;p=linux-beck.git ASoC: atmel_ssc_dai: correct sequence when unload correct the sequence when unload this module Signed-off-by: Bo Shen Signed-off-by: Mark Brown --- 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);