]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm8978: pll incorrectly configured when codec is master
authorEric Millbrandt <emillbrandt@dekaresearch.com>
Fri, 2 Nov 2012 21:05:44 +0000 (17:05 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Nov 2012 08:37:35 +0000 (09:37 +0100)
commit55c6f4cb6ef49afbb86222c6a3ff85329199c729
treec4d3087ffed54df232e183593bd1ece5c27620d9
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
ASoC: wm8978: pll incorrectly configured when codec is master

When MCLK is supplied externally and BCLK and LRC are configured as outputs
(codec is master), the PLL values are only calculated correctly on the first
transmission.  On subsequent transmissions, at differenct sample rates, the
wrong PLL values are used.  Test for f_opclk instead of f_pllout to determine
if the PLL values are needed.

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8978.c