8 Dec
2008
8 Dec
'08
12:59 p.m.
On Mon, Dec 08, 2008 at 01:40:28PM +0200, Jarkko Nikula wrote:
On Mon, Dec 8, 2008 at 1:11 PM, Mark Brown broonie@sirena.org.uk wrote:
TBH I don't really see any benefit from doing this in the codec driver to doing it in the core.
Agree. Also other codecs might use mclk for their internal state machine. IRCC, TSC2301 had some weird internal states and timeouts when mclk was required to be on and when it can be shutdown.
It's fairly common, but most devices either only really need the clock when they've got active paths or aren't supposed to have the clock removed at all so I'm not sure we need a specific mechanism for this.