ASoC: omap-mcbsp: Re-arrange files for core McBSP and Sidetone function split
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 8 Nov 2018 07:29:58 +0000 (09:29 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 13 Nov 2018 17:50:24 +0000 (09:50 -0800)
commit9c34d023dc35a4b3d005d94db512742dfcdc8f82
treef99b065aff9521ad4614c94f31c1752cf2d53f8a
parentbe51c576e8495fd2cffbababad6de7e0a0a562ba
ASoC: omap-mcbsp: Re-arrange files for core McBSP and Sidetone function split

The mcbsp.c was copied a while back from arch/arm/plat-omap/mcbsp.c and it
contained a mix of McBSP and McBSP sidetone functions.

Create new file structure with the following split:
omap-mcbsp.c - McBSP related functions
omap-mcbsp-st.c - McBSP sidetone functionality
omap-mcbsp-priv.h - Private header for internal use
omap-mcbsp.h - Header for user drivers

I have tried to do the code move with minimal code change, cleanup patches
can be based on the new structure.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/Makefile
sound/soc/omap/mcbsp.c [deleted file]
sound/soc/omap/omap-mcbsp-priv.h [moved from sound/soc/omap/mcbsp.h with 70% similarity]
sound/soc/omap/omap-mcbsp-st.c [new file with mode: 0644]
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-mcbsp.h