]> 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)
commit5368eaa53722eaf2ce6c3332acee123e4ee85b57
treeae08aff4e63622d507c0ba89a73b6f2c7e136ad4
parente43c281cd2b95ad16bf5c6e6ddc23265f7e4e826
ASoC: SOF: Intel: hda: Clear RIRB status before reading WP

Port commit 7f73d9cb6d83 ("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