Commit ab9fec09 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Avoid doubly beep attachment in patch_alc268()

Remove the doubly attachment in patch_alc268().
The input beep is attached conditionally only when needed.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 07eba61d
...@@ -12100,12 +12100,6 @@ static int patch_alc268(struct hda_codec *codec) ...@@ -12100,12 +12100,6 @@ static int patch_alc268(struct hda_codec *codec)
} }
} }
err = snd_hda_attach_beep_device(codec, 0x1);
if (err < 0) {
alc_free(codec);
return err;
}
if (board_config != ALC268_AUTO) if (board_config != ALC268_AUTO)
setup_preset(spec, &alc268_presets[board_config]); setup_preset(spec, &alc268_presets[board_config]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment