diff options
author | 2013-07-19 10:22:21 -0300 | |
---|---|---|
committer | 2013-07-19 18:45:02 +0100 | |
commit | 444fc4b369f9341d2cbcffe2d1ffde4cad5b4945 (patch) | |
tree | 8d234346c036767e84322f11cccc7c3d632e37a3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 3.11-rc1 (diff) | |
download | wireguard-linux-444fc4b369f9341d2cbcffe2d1ffde4cad5b4945.tar.xz wireguard-linux-444fc4b369f9341d2cbcffe2d1ffde4cad5b4945.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions