linux-IllusionX/sound/soc/bcm
Matthias Reichl 3d2b3c707b
ASoC: bcm2835: Enforce full symmetry
bcm2835's configuration registers can't be changed when a stream
is running, which means asymmetric configurations aren't supported.

Channel and rate symmetry are already enforced by constraints
but samplebits had been missed.

As hw_params doesn't check for symmetry constraints by itself
and just returns success if a stream is running this led to
situations where asymmetric configurations were seeming to
succeed but of course didn't work because the hardware wasn't
configured at all.

Fix this by adding the missing samplerate symmetry constraint.

Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-10 21:26:03 +00:00
..
bcm2835-i2s.c ASoC: bcm2835: Enforce full symmetry 2017-11-10 21:26:03 +00:00
cygnus-pcm.c ASoC: cygnus: Add Cygnus audio DMA driver 2016-05-31 17:50:42 +01:00
cygnus-ssp.c Merge remote-tracking branches 'asoc/topic/cs43130', 'asoc/topic/cs53l30', 'asoc/topic/cygnus' and 'asoc/topic/davinci' into asoc-next 2017-09-01 12:12:32 +01:00
cygnus-ssp.h ASoC: cygnus: Add Cygnus audio DAI driver 2016-05-31 17:50:42 +01:00
Kconfig ASoC: bcm: add depends on HAS_DMA 2016-11-02 14:57:05 -06:00
Makefile ASoC: cygnus: Add Cygnus audio DMA driver 2016-05-31 17:50:42 +01:00