summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai2009-02-19 08:13:26 +0100
committerTakashi Iwai2009-02-19 08:13:26 +0100
commitab9fec099b796b002b6996c4c5845167d8fe6dbd (patch)
tree1adafed1b61ab8e955c7fb980f04c494003ab2e7 /sound
parentALSA: hda - Don't enable beep for digital-only ALC262 (diff)
downloadkernel-qcow2-linux-ab9fec099b796b002b6996c4c5845167d8fe6dbd.tar.gz
kernel-qcow2-linux-ab9fec099b796b002b6996c4c5845167d8fe6dbd.tar.xz
kernel-qcow2-linux-ab9fec099b796b002b6996c4c5845167d8fe6dbd.zip
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 91da92259c80..df32f9353e71 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]);