Updated from Linux LTS 3.10.20 to 3.10.21
This commit is contained in:
@@ -787,10 +787,10 @@ static void set_pin_eapd(struct hda_codec *codec, hda_nid_t pin, bool enable)
|
||||
if (spec->own_eapd_ctl ||
|
||||
!(snd_hda_query_pin_caps(codec, pin) & AC_PINCAP_EAPD))
|
||||
return;
|
||||
if (codec->inv_eapd)
|
||||
enable = !enable;
|
||||
if (spec->keep_eapd_on && !enable)
|
||||
return;
|
||||
if (codec->inv_eapd)
|
||||
enable = !enable;
|
||||
snd_hda_codec_update_cache(codec, pin, 0,
|
||||
AC_VERB_SET_EAPD_BTLENABLE,
|
||||
enable ? 0x02 : 0x00);
|
||||
|
||||
Reference in New Issue
Block a user