Hi,
The bit clock polarity has been configured incorrectly in the McASP driver for a long time. IB_NF, NB_IF and IB_IF was not correct on the receive side since they were selecting the same edge as we used for the tx.
The driver only had support for DSP_B mode (and probably AC97, but I can not test that). All other formats were broken (DSP_A, I2S, LEFT_J, etc). With this series the following formats will be supported by the McASP driver: - DSP_B - AC97 - DSP_A (new) - I2S (new) - LEFT_J (new)
Non supported modes will return error from now on.
Regards, Peter --- Peter Ujfalusi (7): ASoC: davinci-mcasp: Fix bit clock polarity settings ASoC: davinci-mcasp: Format data delay configuration enhancement ASoC: davinci-mcasp: Support for DSP_A format ASoC: davinci-mcasp: Move the FS polarity change out from the switch case ASoC: davinci-mcasp: Add support for I2S format ASoC: davinci-mcasp: Support for LEFT_J format ASoC: davinci-mcasp: Remove excess empty lines from davinci_mcasp_set_dai_fmt()
sound/soc/davinci/davinci-mcasp.c | 76 +++++++++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 26 deletions(-)