]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: compress: Fix compress device direction check
authorVinod Koul <vinod.koul@intel.com>
Thu, 7 Jan 2016 16:18:14 +0000 (21:48 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jan 2016 13:44:01 +0000 (13:44 +0000)
commitc19aa26e77969348b4c943afd21e23385d05bdc3
tree5e838fa68dbb0f35167cbe1ad5514243ca8b9106
parent837e0eb1c9d194f0eb3cf87d97b2235de146c9fe
ASoC: compress: Fix compress device direction check

The detection of direction for compress was only taking into account codec
capabilities and not CPU ones. Fix this by checking the CPU side capabilities
as well

Cc: <stable@vger.kernel.org>
Tested-by: Ashish Panwar <ashish.panwar@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c