[alsa-devel] ASOC snd_soc_dai_ops for clock mux control
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed Apr 10 15:16:26 CEST 2013
On Wed, Apr 03, 2013 at 10:55:05PM -0700, Gabriel M. Beddingfield wrote:
> If so, there's a couple options I can think of. (A) You could call
> a codec-specific API in your machine driver that expresses this
> intent. (B) you could create "virtual" clock ID's that express the
> mapping (e.g. FLL1_TX, FLL1_RX, FLL2_TX, FLL2_RX). I think (A) is a
> cleaner solution that clearly communicates what is happening.
Or just extend snd_soc_dai_set_sysclk() to have an extra paremeter for
source like we did with snd_soc_dai_set_pll() (for pretty much the same
reason).
More information about the Alsa-devel
mailing list