linux/sound/soc/omap
Thomas Niederprüm 8af4baa708 ASoC: OMAP: mcbsp: Fix CLKX and CLKR pinmux when used as inputs
This patch fixes faulty behaviour in a setup where the input clock for the
SRG is fed through the CLKR/CLKX pin but the McBSP is configured to be
master (SND_SOC_DAIFMT_CBS_CFS). In that case of course CLKR/CLKX must
not be configured as output pin. Otherwise the input clock is messed up
horribly.

This patch makes it possible to use the CLKR/CLKX pin rather than CLKS to
inject a reference clock in setups where McBSP is master and not both
rx and tx are used. However for this to work it has to be ensured that
set_dai_sysclk() is called after set_dai_fmt().

This was tested on a beagleboard-xm using McBSP1 to drive a i2s DAC through
the tx lines (CLKX,FSX,DX). Using this patch the CLKR pin is used to inject
an external reference clock.

Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-02-26 11:48:49 +09:00
..
am3517evm.c ASoC: am3517evm: Use the same name for platform as the cpu_dai 2014-04-18 18:00:46 +01:00
ams-delta.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
Kconfig sound updates for 3.19-rc1 2014-12-11 13:20:50 -08:00
Makefile ASoC: omap: Remove obsolete HDMI audio code and Kconfig options 2014-12-01 11:09:56 +02:00
mcbsp.c ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" 2014-11-17 23:52:34 +00:00
mcbsp.h ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
n810.c ASoC: n810: Use the same name for platform as the cpu_dai 2014-04-18 18:00:46 +01:00
omap3pandora.c ASoC: omap3pandora: Use the same name for platform as the cpu_dai 2014-04-18 18:00:47 +01:00
omap-abe-twl6040.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
omap-dmic.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi-audio.c ASoC: omap-hdmi-audio: Add missing error check for devm_kzalloc 2015-02-14 13:32:53 +09:00
omap-mcbsp.c ASoC: OMAP: mcbsp: Fix CLKX and CLKR pinmux when used as inputs 2015-02-26 11:48:49 +09:00
omap-mcbsp.h ASoC: omap: rx51: omap_mcbsp_st_add_controls: add id parameter 2014-05-01 10:54:34 -07:00
omap-mcpdm.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c ASoC: omap-pcm: Include omap-pcm.h 2014-06-21 20:59:20 +01:00
omap-twl4030.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00
osk5912.c ASoC: osk5912: Use the same name for platform as the cpu_dai 2014-04-18 18:00:47 +01:00
rx51.c ASoC: omap: drop owner assignment from platform_drivers 2014-10-20 16:22:11 +02:00