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>
This commit is contained in:
parent
e08b273c38
commit
69706028b9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue