]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00271d5bbf9aeef6a0a3b6263133448c54ad48ac
tree5bd74e36c96fd4b7f0b689f09db43f6cf26dea28
parent8ddf8110870d72ba9290c49d9de1c6cac2ebeba4
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