ASoC: wm8994: Don't allow reconfiguration of FLL when it provides SYSCLK
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Mar 2012 13:49:27 +0000 (14:49 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:29 +0000 (11:28 +0100)
commite413ba88044db34b3fc9aa1b432a4579db9072b3
tree5bd74e36c96fd4b7f0b689f09db43f6cf26dea28
parent95cd98f9a6dcf112d2abf724ac07c56ec745180f
ASoC: wm8994: Don't allow reconfiguration of FLL when it provides SYSCLK

Rather than trying to work around machine drivers which try to reprogram
the FLL while it is providing SYSCLK just return an error if they try.
This will avoid audio glitches during FLL reconfiguration, or at least
move the introduction of the glitches to the machine driver.

Since disabling the source for an active SYSCLK is not supported in the
first place systems shouldn't be doing this in the first place.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c