]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: compress: Prevent multicodec for compressed stream
authorBenoit Cousson <bcousson@baylibre.com>
Tue, 8 Jul 2014 21:19:37 +0000 (23:19 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 16 Jul 2014 22:06:27 +0000 (23:06 +0100)
commit8151d5e60232d31f35e04f4e49a5b0d98b00a737
tree193fd41cfbf6813d7ecd8566e1507e45d03ad77b
parent44ba2641b77ab4037b79873ea5afdac3329b1ea3
ASoC: compress: Prevent multicodec for compressed stream

Multiple codecs does not make sense in the case of compressed
stream.

Exit with error if it happens.

Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-compress.c