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)
commit7504b6cd220a3dd8104abe3d0f985c6957dc3e17
treecc9375edcd24847cad943c0a5d141874f67e743f
parentcf30f46acde1f84fbf603bba6540cbb40cc6c954
ALSA: hda - Move beep attach/detach calls in hda_generic.c

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