aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/hda_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index e0bf7534fa1f..29ed7d9b27e4 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -667,7 +667,7 @@ snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid,
667 if (state & AC_PWRST_ERROR) 667 if (state & AC_PWRST_ERROR)
668 return true; 668 return true;
669 state = (state >> 4) & 0x0f; 669 state = (state >> 4) & 0x0f;
670 return (state != target_state); 670 return (state == target_state);
671} 671}
672 672
673unsigned int snd_hda_codec_eapd_power_filter(struct hda_codec *codec, 673unsigned int snd_hda_codec_eapd_power_filter(struct hda_codec *codec,