Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-02-08 Thread Bo Shen
Hi Mark, On 01/30/2015 09:20 PM, Mark Brown wrote: On Fri, Jan 30, 2015 at 05:38:43PM +0800, Bo Shen wrote: 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. Applied, thanks.

Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-02-07 Thread Mark Brown
On Fri, Jan 30, 2015 at 05:38:43PM +0800, Bo Shen wrote: > 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. Applied, thanks. You probably want to convert to clk_prepare_enab

[PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-01-30 Thread Bo Shen
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 --- sound/soc/atmel/atmel_ssc_dai.c | 28 +++- 1 file changed, 11 insertions(+)