Skip to content

Commit

Permalink
ALSA: hda - Avoid doubly beep attachment in patch_alc268()
Browse files Browse the repository at this point in the history
Remove the doubly attachment in patch_alc268().
The input beep is attached conditionally only when needed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Feb 19, 2009
1 parent 07eba61 commit ab9fec0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
setup_preset(spec, &alc268_presets[board_config]);

Expand Down

0 comments on commit ab9fec0

Please sign in to comment.