diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-01-05 17:38:11 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-05 17:38:34 +0300 |
commit | f81483aaeb59da530b286fe5d081e1705eb5c886 (patch) | |
tree | a4fed750afcdf61df3a2e3c7ab4456c515651290 /sound/pci/hda/patch_hdmi.c | |
parent | 08977fe8cfb7d9fe9337470eec4843081cf3a76d (diff) | |
parent | 57f234248ff925d88caedf4019ec84e6ecb83909 (diff) | |
download | linux-f81483aaeb59da530b286fe5d081e1705eb5c886.tar.xz |
Merge branch 'for-next' into for-linus
Pull 5.17 materials.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index ffcde7409d2a..92df4f243ec6 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1535,7 +1535,7 @@ static void update_eld(struct hda_codec *codec, } } - if (!eld->eld_valid || eld->eld_size <= 0) { + if (!eld->eld_valid || eld->eld_size <= 0 || eld->info.sad_count <= 0) { eld->eld_valid = false; eld->eld_size = 0; } |