ASoC: atmel_ssc_dai: refactor the startup and shutdown
authorBo Shen <voice.shen@atmel.com>
Fri, 30 Jan 2015 09:38:43 +0000 (17:38 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jan 2015 13:20:23 +0000 (14:20 +0100)
commitcbaadf0f90d6d406a36bb389fbdea524d6d89d8d
treefa319eee77a18ff3d1c68aa28a9aef43576fb23b
parenteb5271497f212f9e2323adc0a2fd8a9358e751e4
ASoC: atmel_ssc_dai: refactor the startup and shutdown

In startup function, enable ssc clock and in shutdown function,
disable clock. And also remove disable ssc in shutdown function,
as ssc is disabled in prepare function.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c