[alsa-devel] [PATCH 2/3] ASoC: pxa-ssp.c, Automatically set TDM when needed
Mark Brown
broonie at opensource.wolfsonmicro.com
Sat Aug 15 11:51:20 CEST 2009
On Fri, Aug 14, 2009 at 01:17:41PM -0300, Daniel Ribeiro wrote:
> This should be able to deal with I2S when pxa is slave, on both pxa2xx
> and pxa3xx, with set_tdm_slot(5, 5, 4, 16).
> Or when pxa is master, on pxa3xx only, with set_tdm_slot(3, 3, 2, 16).
> This still violates the "DMYSTOP must be clear on network mode" rule,
> but as all slots are active its not really network mode. And it seems to
> work for you, so... ;)
This seems really confusing from a usability point of view - the master
and slave configurations should look the same. I'd expec the slave mode
configuration you quote above to be looking for twice as many clocks as
the master mode one. The driver should ideally encapsulate this.
More information about the Alsa-devel
mailing list