]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8994: Only enable extra BCLK cycles when required
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Oct 2012 14:28:30 +0000 (15:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Oct 2012 12:24:29 +0000 (13:24 +0100)
commit29e24d507cdeec5a998af0ec14752c9f962e9dc9
tree3285ed554cf03bcbfabc4a58ff5ab7afa920265a
parent6ab66186695d33c81b559545154047cd3436b033
ASoC: wm8994: Only enable extra BCLK cycles when required

Rather than always assuming the maximum possible BCLK rate will be
required generate BCLKs for stereo if either one or two channels is
enabled. In order to support this we also need to ensure that only
the relevant channels are enabled.

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