aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-19 08:13:26 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-19 08:13:26 +0100
commitab9fec099b796b002b6996c4c5845167d8fe6dbd (patch)
tree1adafed1b61ab8e955c7fb980f04c494003ab2e7 /sound
parent07eba61dd68678e30b24b4776f59798f625e089d (diff)
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 91da92259c8..df32f9353e7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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]);