kernel-ark/sound/soc/omap
Paul Walmsley cf4c87abe2 OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c
The OMAP ASoC McBSP code implemented CLKR and FSR signal muxing via
direct System Control Module writes on OMAP2+.  This required the
omap_ctrl_{read,write}l() functions to be exported, which is against
policy: the only code that should call those functions directly is
OMAP core code, not device drivers.  omap_ctrl_{read,write}*() are no
longer exported, so the driver no longer builds as a module.

Fix the pinmuxing part of the problem by removing calls to
omap_ctrl_{read,write}l() from the OMAP ASoC McBSP code and
implementing signal muxing functions in arch/arm/mach-omap2/mcbsp.c.
Due to the unfortunate way that McBSP support is implemented in ASoC
and the OMAP tree, these symbols 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
conversion.

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 McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c 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