ASoC: wm8994: Support constraining the maximum number of channels clocked
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Mar 2013 09:12:10 +0000 (10:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 21 Mar 2013 16:27:32 +0000 (17:27 +0100)
commit3cf956eebe54cdb7cf1701642085507f0354e56a
treed89eaea525d68b6ed17b8802f62ac44886c6c694
parenta937536b868b8369b98967929045f1df54234323
ASoC: wm8994: Support constraining the maximum number of channels clocked

Some systems use the audio CODEC to clock a DAI with multiple data lines
in parallel, meaning that bit clocks are only required for a smaller number
of channels than data is sent for. In some cases providing the extra bit
clocks can take the other devices on the audio bus out of spec.

Support such systems by allowing a maximum number of channels to be
specified.

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