ALSA: hda - Move beep attach/detach calls in hda_generic.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Mar 2013 10:25:51 +0000 (11:25 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Mar 2013 11:58:42 +0000 (12:58 +0100)
Instead of calling snd_hda_attach_beep_device() and
snd_hda_detach_beep_device() in each codec driver, move them to the
generic parser.  The codec driver just needs to set spec->beep_nid for
activating the digital beep.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge