linux/sound/soc/omap
Jarkko Nikula 34c869855a ASoC: omap-mcbsp: Do not attempt to change DAI sysclk if stream is active
Attempt to change McBSP CLKS source while another stream is active is not
safe after commit d135865 ("OMAP: McBSP: implement functional clock
switching via clock framework") in 2.6.37.

CLKS parent clock switching using clock framework have to idle the McBSP
before switching and then activate it again. This short break can cause a
DMA transaction error to already running stream which halts and recovers
only by closing and restarting the stream.

This goes more fatal after commit e2fa61d ("OMAP3: l3: Introduce
l3-interconnect error handling driver") in 2.6.39 where l3 driver detects a
severe timeout error and does BUG_ON().

Fix this by not changing any configuration in omap_mcbsp_dai_set_dai_sysclk
if the McBSP is already active. This test should have been here just from
the beginning anyway.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
2011-09-23 11:48:55 +01:00
..
am3517evm.c ASoC: AM3517: Update codec name after multi-component update 2011-03-09 11:48:55 +00:00
ams-delta.c ASoC: omap: Fix build errors in ams-delta 2011-08-19 01:19:45 +09:00
igep0020.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
Kconfig Merge branch 'for-3.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc 2011-07-05 07:33:23 +02:00
Makefile Merge branch 'for-3.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc 2011-07-05 07:33:23 +02:00
mcpdm.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mcpdm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
n810.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap3beagle.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
omap3evm.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
omap3pandora.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-24 11:57:43 +00:00
omap4-hdmi-card.c ASoC: OMAP4: Add HDMI Audio machine driver for OMAP4 boards 2011-06-03 13:43:45 +01:00
omap-hdmi.c ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-hdmi.h ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-mcbsp.c ASoC: omap-mcbsp: Do not attempt to change DAI sysclk if stream is active 2011-09-23 11:48:55 +01:00
omap-mcbsp.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap-mcpdm.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2010-10-25 13:46:56 -07:00
omap-pcm.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap-pcm.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
osk5912.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-25 21:16:52 +00:00
overo.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
rx51.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
sdp3430.c MFD: twl4030-codec -> twl4030-audio: Rename the driver 2011-07-04 18:43:56 +03:00
sdp4430.c ASoC: twl6040: Move PLL selection to codec driver 2011-07-07 14:23:44 +03:00
zoom2.c MFD: twl4030-codec -> twl4030-audio: Rename the driver 2011-07-04 18:43:56 +03:00