[alsa-devel] ASoC: hook for codec control updates and clock controls

Mark Brown broonie at sirena.org.uk
Mon Dec 8 12:59:01 CET 2008

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 at 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.

More information about the Alsa-devel mailing list