]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:58:45 +0000 (16:58 +0000)
commitc899df3e9b0bf7b76e642aed1a214582ea7012d5
tree460b6ab352ce534b846e19e623a8607a1435db74
parent03d0aa4d4fddce4a5d865d819a4d98bfc3d451e6
ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform

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>
sound/soc/intel/skylake/skl-pcm.c