linux-stable/sound/soc/davinci
Jyri Sarha a75a053f1e ASoC: davinci-mcasp: Set rule constraints if implicit BCLK divider is used
Set rule constraints to allow only combinations of sample-rate,
sample-format, and channels counts that can be played/captured with
reasonable sample-rate accuracy.

The logic with tdm-slots and serializers (=i2s data wires) goes like
this: The first wire will take all channels up to number of tdm-slots,
before following wires (if any) are used. If the first wire is used
fully, the remaining wires share the same clocks and the divider can
be calculated for the first wire.

Also, takes the number of tdm-slots into account when implicitly
selecting the BLCK divider.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-03-24 10:19:43 -07:00
..
davinci-evm.c ASoC: davinci-evm: Do not include davinci-pcm.h and davinci-i2s.h 2015-02-02 18:26:15 +00:00
davinci-i2s.c ASoC: davinci-i2s: Convert to use edma-pcm 2015-03-04 17:26:28 +00:00
davinci-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-mcasp.c ASoC: davinci-mcasp: Set rule constraints if implicit BCLK divider is used 2015-03-24 10:19:43 -07:00
davinci-mcasp.h ASoC: davinci-mcasp: Add overrun/underrun event handling 2014-11-12 14:55:00 +00:00
davinci-vcif.c ASoC: davinci-vcif: Convert to use edma-pcm 2015-03-04 17:26:28 +00:00
edma-pcm.c ASoC: edma-pcm: Include edma-pcm.h 2014-08-17 09:31:06 -05:00
edma-pcm.h ASoC: edma-pcm: Add empty functions for !CONFIG_SND_EDMA_SOC builds 2014-07-16 22:09:08 +01:00
Kconfig ASoC: davinci-mcasp: Deprecate the use of davinci-pcm in favor of edma-pcm 2015-03-04 17:26:28 +00:00
Makefile ASoC: davinci: Remove unused davinci-pcm platform driver 2015-03-04 17:26:28 +00:00