[alsa-devel] [PATCH v03 0/4] ASoC: davinci-mcasp: Correct start/stop sequences
Peter Ujfalusi
peter.ujfalusi at ti.com
Wed Oct 29 12:55:43 CET 2014
Hi,
For some reason these patches did not made it to mainline kernel. V2 was sent
on 28.04.2014:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/074871.html
and got applied the same day:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/074878.html
I just noticed that they are missing.
Changes since v2:
- rebased on next
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
devices.
Regards,
Peter
---
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
step
ASoC: davinci-mcasp: Move the AFIFO related code under start_tx/rx
functions
sound/soc/davinci/davinci-mcasp.c | 95 ++++++++++++++++++---------------------
sound/soc/davinci/davinci-mcasp.h | 6 +++
2 files changed, 49 insertions(+), 52 deletions(-)
--
2.1.2
More information about the Alsa-devel
mailing list