summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 637b3b2912d7..1b3b8c8b0226 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -1172,7 +1172,7 @@ static int hdmi_parse_codec(struct hda_codec *codec)
*/
#ifdef CONFIG_SND_HDA_POWER_SAVE
if ((!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) &
- AC_PWRST_EPSS)) && ((codec->preset->id != 0x10de0020) ||
+ AC_PWRST_EPSS)) && ((codec->preset->id != 0x10de0020) &&
(codec->preset->id != 0x10de0022)))
codec->bus->power_keep_link_on = 1;
#endif