projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07eba61
)
ALSA: hda - Avoid doubly beep attachment in patch_alc268()
author
Takashi Iwai
<tiwai@suse.de>
Thu, 19 Feb 2009 07:13:26 +0000
(08:13 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 19 Feb 2009 07:13:26 +0000
(08:13 +0100)
Remove the doubly attachment in patch_alc268().
The input beep is attached conditionally only when needed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 91da92259c8039a48e0869df61816392565d498f..df32f9353e717a5087cbfdf03d25a6afcdef3e91 100644
(file)
--- 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]);