linux-kernel-test/sound/soc
Fabio Estevam 444fc4b369 ASoC: wm8962: Do not call configure_bclk() inside wm8962_set_dai_sysclk()
Currently after playing any audio file, we get the following error message:

$ aplay clarinet.wav
Playing WAVE 'clarinet.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
$ wm8962 0-001a: Unsupported sysclk ratio 544

This error message appears about 5 seconds after the audio playback has
finished.

Quoting Mark Brown [1]:

"The issue here is triggered by the machine
switching from the FLL to direct MCLK usage where the MCLK isn't
generating a useful ratio.

I suspect we should just kill the configure_bclk() in set_sysclk(), that
one isn't safe as we can't reconfigure a live SYSCLK and it's probably
the one that generates your warnings."

Confirmed that the "Unsupported sysclk ratio" error message comes from
wm8962_set_dai_sysclk(), so get rid of wm8962_configure_bclk() inside this
function.

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2013-July/064241.html

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-19 18:45:02 +01:00
..
atmel ASoC: sam9g20ek: Let device core handle pinctrl 2013-05-12 20:43:37 +04:00
au1x ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
blackfin ASoC: More updates for v3.11 2013-06-28 13:36:22 +02:00
cirrus ASoC: More updates for v3.11 2013-06-28 13:36:22 +02:00
codecs ASoC: wm8962: Do not call configure_bclk() inside wm8962_set_dai_sysclk() 2013-07-19 18:45:02 +01:00
davinci sound updates for 3.11 2013-07-03 19:52:22 -07:00
dwc ASoC: dwc: Folder path correction in file header. 2013-06-12 16:19:01 +01:00
fsl ASoC: Updates for v3.11 2013-07-05 11:54:27 +02:00
generic ASoC: simple-card: add asoc_simple_dai for initializing 2013-01-14 06:55:43 +09:00
jz4740 ASoC: jz4740-i2s: Use clk_prepare_enable/clk_disable_unprepare 2013-05-12 22:09:03 +04:00
kirkwood Merge remote-tracking branch 'asoc/topic/kirkwood' into asoc-next 2013-06-17 17:20:22 +01:00
mid-x86 ASoC: mfld: Remove unused variable 2013-06-28 10:59:14 +01:00
mxs Merge remote-tracking branch 'asoc/fix/mxs' into asoc-linus 2013-07-04 18:30:02 +01:00
nuc900 ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
omap ARM: OMAP2+: N900: enable N900-specific drivers even if device tree is enabled 2013-07-04 05:11:16 -07:00
pxa ASoC: Final updates for v3.11 2013-07-01 11:23:13 +02:00
s6000 ASoC: switch over to use snd_soc_register_component() on s6000 i2s 2013-03-26 21:57:30 +00:00
samsung sound fixes for 3.11 2013-07-11 12:45:59 -07:00
sh ASoC: More updates for v3.11 2013-06-28 13:36:22 +02:00
spear ASoC: spear: Convert to use devm_ioremap_resource 2013-06-17 17:19:58 +01:00
tegra ASoC: Final updates for v3.11 2013-07-01 11:23:13 +02:00
txx9 ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
ux500 sound updates for 3.11 2013-07-03 19:52:22 -07:00
Kconfig ASoC: Add Kconfig and Makefile to support SPEAr audio driver 2013-06-12 16:25:22 +01:00
Makefile ASoC: Add Kconfig and Makefile to support SPEAr audio driver 2013-06-12 16:25:22 +01:00
soc-cache.c
soc-compress.c ASoC: soc-compress: Send correct stream event for capture start 2013-05-20 08:01:48 -05:00
soc-core.c ASoC: Final updates for v3.11 2013-07-01 11:23:13 +02:00
soc-dapm.c Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next 2013-06-17 17:20:17 +01:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: Add support for compat platforms 2013-04-17 14:21:36 +01:00
soc-generic-dmaengine-pcm.c ASoC: generic-dmaengine-pcm: call dma_request_slave_channel() 2013-04-23 11:34:29 +01:00
soc-io.c ASoC: core: Use PTR_RET function 2013-03-26 14:12:01 +00:00
soc-jack.c
soc-pcm.c Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2013-06-17 17:20:16 +01:00
soc-utils.c ASoC: simplify registration of snd-soc-dummy device 2013-05-17 12:07:49 +01:00