Lines 3566-3573
static void alc256_shutup(struct hda_codec *codec)
Link Here
|
3566 |
/* If disable 3k pulldown control for alc257, the Mic detection will not work correctly |
3566 |
/* If disable 3k pulldown control for alc257, the Mic detection will not work correctly |
3567 |
* when booting with headset plugged. So skip setting it for the codec alc257 |
3567 |
* when booting with headset plugged. So skip setting it for the codec alc257 |
3568 |
*/ |
3568 |
*/ |
3569 |
if (spec->codec_variant != ALC269_TYPE_ALC257 && |
3569 |
if (codec->core.vendor_id != 0x10ec0236 || |
3570 |
spec->codec_variant != ALC269_TYPE_ALC256) |
3570 |
codec->core.vendor_id != 0x10ec0257) |
3571 |
alc_update_coef_idx(codec, 0x46, 0, 3 << 12); |
3571 |
alc_update_coef_idx(codec, 0x46, 0, 3 << 12); |
3572 |
|
3572 |
|
3573 |
if (!spec->no_shutup_pins) |
3573 |
if (!spec->no_shutup_pins) |