Skip to content

Commit

Permalink
ASoC: atmel_ssc_dai: correct sequence when unload
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bo Shen authored and Mark Brown committed Feb 4, 2013
1 parent e08b273 commit 6970602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/atmel/atmel_ssc_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6970602

Please sign in to comment.