]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Clear RIRB status before reading WP
authorBrent Lu <brent.lu@intel.com>
Fri, 12 Jun 2020 10:50:48 +0000 (18:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 14:18:34 +0000 (15:18 +0100)
commit4c4468ce7536b0168b5656bb6eb326e5fdd98918
treeae08aff4e63622d507c0ba89a73b6f2c7e136ad4
parent8005bed8bf08d52256ba1fc27c5e3e09d99a2838
ASoC: SOF: Intel: hda: Clear RIRB status before reading WP

Port commit 4462f88fd62b ("ALSA: hda: Clear RIRB status before reading
WP") from legacy HDA driver to fix the get response timeout issue.
Current SOF driver does not suffer from this issue because sync write
is enabled in hda_init. The issue will come back if the sync write is
disabled for some reason.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/1591959048-15813-1-git-send-email-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c