ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
authorRander Wang <rander.wang@linux.intel.com>
Fri, 8 Mar 2019 08:38:59 +0000 (16:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2019 15:54:05 +0000 (17:54 +0200)
commit29f1b976152044e0e7fa0743b8a9cd73f10b573d
tree89f42bf6e8fc60dc99596b7375c43ce710fa4054
parent581a8bd9fa8b7265f858c7f35d658354c9fe028f
ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform

[ Upstream commit c899df3e9b0bf7b76e642aed1a214582ea7012d5 ]

If playback and capture are enabled concurrently, when the capture stops
the output becomes inaudile. The playback application will become stuck
and underrun after a timeout.

This is caused by mistaken use of the stream_id, which should only be
set for playback and not for capture

Tested on Apollolake and Kabylake with SST driver.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/skylake/skl-pcm.c