linux/sound/soc/omap
Paul Walmsley d13586574d OMAP: McBSP: implement functional clock switching via clock framework
Previously the OMAP McBSP ASoC driver implemented CLKS switching by
using omap_ctrl_{read,write}l() directly.  This is against policy; the OMAP
System Control Module functions are not intended to be exported to drivers.
These symbols are no longer exported, so as a result, the OMAP McBSP ASoC
driver does not build as a module.

Resolve the CLKS clock changing portion of this problem by creating a
clock parent changing function that lives in
arch/arm/mach-omap2/mcbsp.c, and modify the ASoC driver to use it.
Due to the unfortunate way that McBSP support is implemented in ASoC
and the OMAP tree, this symbol must be exported for use by
sound/soc/omap/omap-mcbsp.c.

Going forward, the McBSP device driver should be moved from
arch/arm/*omap* into drivers/ or sound/soc/* and the CPU DAI driver
should be implemented as a platform_driver as many other ASoC CPU DAI
drivers are.  These two steps should resolve many of the layering
problems, which will rapidly reappear during a McBSP hwmod/PM runtime
conversions.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-10-08 11:40:19 -06:00
..
am3517evm.c ASoC: Adding OMAP3517 / AM3517 EVM support in ASOC 2009-10-29 22:28:18 +00:00
ams-delta.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
igep0020.c ASoC: Add support for IGEP v2 2009-11-19 10:48:43 +00:00
Kconfig ASoC: SDP4430: Add sdp4430 machine driver 2010-05-19 14:04:40 +01:00
Makefile ASoC: SDP4430: Add sdp4430 machine driver 2010-05-19 14:04:40 +01:00
mcpdm.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
mcpdm.h ASoC: OMAP4: Add support for McPDM 2010-02-23 10:39:48 +00:00
n810.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap2evm.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap3beagle.c Add ASoC support for Devkit8000 2010-02-11 19:49:48 +00:00
omap3evm.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
omap3pandora.c ASoC: pandora: fix CLKX polarity 2010-06-21 18:16:17 +01:00
omap-mcbsp.c OMAP: McBSP: implement functional clock switching via clock framework 2010-10-08 11:40:19 -06:00
omap-mcbsp.h ASoC: OMAP-McBSP: ASoC interface for McBSP sidetone 2010-02-23 10:57:39 -08:00
omap-mcpdm.c ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream 2010-04-05 19:14:11 +01:00
omap-mcpdm.h ASoC: OMAP4: Add McPDM platform driver 2010-02-23 10:41:05 +00:00
omap-pcm.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-04-07 08:42:25 -07:00
omap-pcm.h ASoC: OMAP: data_type and sync_mode configurable in audio dma 2010-02-23 10:38:52 +00:00
osk5912.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
overo.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2009-12-08 08:15:29 -08:00
rx51.c ASoC: RX-51: Add basic jack detection 2010-06-23 11:29:14 +01:00
sdp3430.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
sdp4430.c ASoC: sdp4430 - add sdp4430 pcm ops to DAI. 2010-05-19 14:14:51 +01:00
zoom2.c ASoC: zoom2 - update DAPM pins 2010-04-28 13:27:18 +01:00