[alsa-devel] [PATCH] ALSA: hda: Retry codec read on first time failure

Takashi Iwai tiwai at suse.de
Wed Aug 14 08:27:49 CEST 2019


On Tue, 13 Aug 2019 13:03:07 +0200,
vani.ganji at intel.com wrote:
> 
> From: Vani Ganji <vani.ganji at intel.com>
> 
> Sometimes HDMI audio fails while fast switching
> between HDMI and Speaker due to codec Get Power state verb read failure.
> 
> Verb is codec driver to access codec HW. Since issue scenario involves
> fast switching between HDMI and speaker, there might be chance to fail
> read from HW and same happened in the error scenario.
> 
> Based on Display/Graphics architect suggestion, added a retry mechanism
> for failure on first attempt.
> 
> Signed-off-by: Vani Ganji <vani.ganji at intel.com>

Does this still happen with the latest 5.3-rc kernel?
The recent fix to add the write-sync for Intel platforms should
already cover this kind of errors.


thanks,

Takashi


More information about the Alsa-devel mailing list