[alsa-devel] [PATCH v2 0/4] ASoC: davinci-mcasp: Correct start/stop sequences

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Mar 28 10:25:13 CET 2014


Changes since v1:
- Correction for the stop sequence is added
- start code cleanup patch added

The startup sequence for TX and RX was not correct, not following the
programming sequence from the TRM.
This could cause initial channel swap when starting TX.
When stopping the stream the AFIFO should be stopped as the last step to avoid
unpredictable behavior.

The change has been tested on AM335x and AM437x but it should be valid for all

Peter Ujfalusi (4):
  ASoC: davinci-mcasp: Correct TX start sequence
  ASoC: davinci-mcasp: Correct RX start sequence
  ASoC: davinci-mcasp: When stopping TX/RX stop the AFIFO as the last
  ASoC: davinci-mcasp: Move the AFIFO related code under start_tx/rx

 sound/soc/davinci/davinci-mcasp.c | 95 ++++++++++++++++++---------------------
 sound/soc/davinci/davinci-mcasp.h |  6 +++
 2 files changed, 49 insertions(+), 52 deletions(-)


More information about the Alsa-devel mailing list