diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2020-01-20 18:01:17 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-21 07:12:09 +0100 |
commit | 2928fa0a97ebb9549cb877fdc99aed9b95438c3a (patch) | |
tree | f9be932955b11ff728e8a97cf9c39a026cbb8704 /sound/pci/cs46xx | |
parent | c31427d0d21e198c74d5d92082c4b8194b257f82 (diff) |
ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()
The initial snd_hda_get_sub_node() can fail on certain
devices (e.g. some Chromebook models using Intel GLK).
The failure rate is very low, but as this is is part of
the probe process, end-user impact is high.
In observed cases, related hardware status registers have
expected values, but the node query still fails. Retrying
the node query does seem to help, so fix the problem by
adding retry logic to the query. This does not impact
non-Intel platforms.
BugLink: https://github.com/thesofproject/linux/issues/1642
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200120160117.29130-4-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx')
0 files changed, 0 insertions, 0 deletions