10 Apr
2013
10 Apr
'13
3:16 p.m.
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).