ALSA: hda/realtek - remove hp_automute_hook from alc283_fixup_chromebook
authorKailang Yang <kailang@realtek.com>
Wed, 4 Dec 2013 07:06:14 +0000 (15:06 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Dec 2013 07:59:30 +0000 (08:59 +0100)
I forgot to remove the hp_automute_hook from alc283_fixup_chromebook.
It doesn't need this for other chrome os machine.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index ba2b982b47ea7ef9238a2c3beb469cd4bfb7d8ff..e327e630cac4cc119afcdca663bd2f1e1beac02a 100644 (file)
@@ -3613,7 +3613,6 @@ static void alc283_fixup_chromebook(struct hda_codec *codec,
                snd_hda_override_wcaps(codec, 0x03, 0);
                /* Disable AA-loopback as it causes white noise */
                spec->gen.mixer_nid = 0;
-               spec->gen.hp_automute_hook = alc283_hp_automute_hook;
                break;
        case HDA_FIXUP_ACT_INIT:
                /* Enable Line1 input control by verb */