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

Mark Brown broonie at sirena.org.uk
Mon Dec 8 12:11:39 CET 2008

On Mon, Dec 08, 2008 at 11:49:46AM +0200, Jarkko Nikula wrote:
> On Mon, Dec 8, 2008 at 2:04 AM, Daniel Mack <daniel at caiaq.org> wrote:

> > My two cents. However, aic3x specific only.

[You might want to check your MUA - most of your recent mails have done
the above and marked the first line of your reply as part of the quote.]

> Would it work if there is some set_mclk(int enable) callback in struct
> aic3x_setup_data, then codec->write in aic3x_init points to higher level
> aic3x_write_xxx which takes care of calling set_mclk(1) when needed and call
> aic3x_write? Also delayed set_mclk(0) can be put into aic3x driver.

TBH I don't really see any benefit from doing this in the codec driver
to doing it in the core.

More information about the Alsa-devel mailing list