ASoC: compress: Derive substream from stream based on direction
Currently compress driver hardcodes direction as playback to get substream from the stream. This results in getting the incorrect substream for compressed capture usecase. To fix this, remove the hardcoding and derive substream based on the stream direction. Signed-off-by: NSatish Babu Patakokila <sbpata@codeaurora.org> Signed-off-by: NBanajit Goswami <bgoswami@codeaurora.org> Acked-By: NVinod Koul <vinod.koul@intel.com> Signed-off-by: NMark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Showing
想要评论请 注册 或 登录