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. You probably want to convert to clk_prepare_enable() too but that's a separate thing.
OK, thanks, I will check that. As now, we prepare clock in ssc driver, then enable it in dai driver.
Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-sound" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- [PATCH 0/3] ASoC: atmel_ssc_dai: fix and refactor
- From: Bo Shen
- [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown
- From: Bo Shen
- Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown
- From: Mark Brown
- [PATCH 0/3] ASoC: atmel_ssc_dai: fix and refactor
- Prev by Date: Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown
- Next by Date: Re: [PATCH] ASoC: wm8731: let codec to manage clock by itself
- Previous by thread: Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown
- Next by thread: [PATCH 3/3] ASoC: atmel_ssc_dai: only clean PDC when using PDC
- Index(es):
![]() |