ASoC: dpcm: add rate merge to the BE stream merge
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 5 Jul 2018 10:13:49 +0000 (12:13 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 11 Jul 2018 10:58:41 +0000 (11:58 +0100)
commitbaacd8d100d571aa713c3c60b1471b9962e6ec8a
tree6c085dd5f4cfb219f3a2b177630b528300c4f2ff
parent435ffb76f8b35be108a52bf1c43233a57b3c72b4
ASoC: dpcm: add rate merge to the BE stream merge

As done for format and channels, add the possibility to merge
the backend rates on the frontend rates.

This useful if the backend does not support all rates supported by the
frontend, or if several backends (cpu and codecs) with different
capabilities are connected to the same frontend.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-pcm.c