diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-05-28 10:08:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-05-28 10:08:50 +0200 |
commit | 6d2848402619f33895e419430ad43a223c4866fc (patch) | |
tree | a88115a04139f68e5240dfdf40e11c752a3e73a5 /sound/pci/hda/patch_hdmi.c | |
parent | ALSA: firewire-motu: add support for MOTU UltraLite-mk3 (FireWire only model) (diff) | |
parent | ALSA: hda/realtek - Add new codec supported for ALC287 (diff) | |
download | linux-6d2848402619f33895e419430ad43a223c4866fc.tar.xz linux-6d2848402619f33895e419430ad43a223c4866fc.zip |
Merge branch 'for-linus' into for-next
Back-merge 5.7-devel branch for further development.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index f21b66abb271..9b604ecade03 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1848,8 +1848,10 @@ static bool check_non_pcm_per_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) /* Add sanity check to pass klockwork check. * This should never happen. */ - if (WARN_ON(spdif == NULL)) + if (WARN_ON(spdif == NULL)) { + mutex_unlock(&codec->spdif_mutex); return true; + } non_pcm = !!(spdif->status & IEC958_AES0_NONAUDIO); mutex_unlock(&codec->spdif_mutex); return non_pcm; @@ -2198,7 +2200,9 @@ static int generic_hdmi_build_controls(struct hda_codec *codec) for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); + struct hdmi_eld *pin_eld = &per_pin->sink_eld; + pin_eld->eld_valid = false; hdmi_present_sense(per_pin, 0); } |