mbox series

[0/5] ASoC: omap-mcbsp: Cleanup and split core/sidetone support

Message ID 20181105132512.18092-1-peter.ujfalusi@ti.com (mailing list archive)
Headers show
Series ASoC: omap-mcbsp: Cleanup and split core/sidetone support | expand

Message

Peter Ujfalusi Nov. 5, 2018, 1:25 p.m. UTC
Hi,

While preparing for merging the davinci and omap directories (I will send the
series for that shortly) I have taken some time to do cleanup on the McBSP
driver.

The mcbsp.c/h files were the result when we moved code from arch/arm/plat-omap
to sound/soc/omap/ a long time ago and it contained code for McBSP core and the
OMAP3 sidetone functionality.

With this series I tried to split the core and sidetone code to separate files.

There were two reasons for this:
1. to have the OMAP specific DAI driver files prefixed with omap-* under the new
   sound/soc/ti/ directory
2. easier to find functions as all sidetone code is in separate file.

Regards,
Peter
---
Peter Ujfalusi (5):
  ASoC: omap-mcbsp: Clean up dma_data addr initialization code
  ASoC: omap-mcbsp: Clean up the interrupt handlers
  ASoC: omap-mcbsp: Simplify the mcbsp_start/_stop function parameters
  ASoC: omap-mcbsp: Move out the FIFO check from set_threshold and
    get_delay
  ASoC: omap-mcbsp: Re-arrange files for core McBSP and Sidetone
    function split

 sound/soc/omap/Makefile                       |    2 +-
 sound/soc/omap/mcbsp.c                        | 1104 -----------------
 sound/soc/omap/{mcbsp.h => omap-mcbsp-priv.h} |  126 +-
 sound/soc/omap/omap-mcbsp-st.c                |  516 ++++++++
 sound/soc/omap/omap-mcbsp.c                   |  855 ++++++++++---
 sound/soc/omap/omap-mcbsp.h                   |    8 +-
 6 files changed, 1281 insertions(+), 1330 deletions(-)
 delete mode 100644 sound/soc/omap/mcbsp.c
 rename sound/soc/omap/{mcbsp.h => omap-mcbsp-priv.h} (70%)
 create mode 100644 sound/soc/omap/omap-mcbsp-st.c