diff options
| -rw-r--r-- | sound/pci/hda/patch_analog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 34d86ec5d3dd..f6351b8e0f5d 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
| @@ -147,6 +147,8 @@ static void ad_vmaster_eapd_hook(void *private_data, int enabled) | |||
| 147 | 147 | ||
| 148 | if (!spec->eapd_nid) | 148 | if (!spec->eapd_nid) |
| 149 | return; | 149 | return; |
| 150 | if (codec->inv_eapd) | ||
| 151 | enabled = !enabled; | ||
| 150 | snd_hda_codec_update_cache(codec, spec->eapd_nid, 0, | 152 | snd_hda_codec_update_cache(codec, spec->eapd_nid, 0, |
| 151 | AC_VERB_SET_EAPD_BTLENABLE, | 153 | AC_VERB_SET_EAPD_BTLENABLE, |
| 152 | enabled ? 0x02 : 0x00); | 154 | enabled ? 0x02 : 0x00); |
