Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bff23c72 authored by Vinod Koul's avatar Vinod Koul Committed by Satish Babu Patakokila
Browse files

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: default avatarAshish Panwar <ashish.panwar@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Git-commit: a1068045883ed4a18363a4ebad0c3d55e473b716
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/stable


CRs-fixed: 1072067
Change-Id: I04a0c4e34a0e1120cc5c0f121df6127d103b22f4
Signed-off-by: default avatarSatish Babu Patakokila <sbpata@codeaurora.org>
Signed-off-by: default avatarSridhar Gujje <sgujje@codeaurora.org>
parent 64120cd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment