ALSA: hda - Move beep helper functions to hda_beep.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 15:27:57 +0000 (17:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 16:31:36 +0000 (18:31 +0200)
commit0401e8548eace5bdb8adfa3e82f56165982cb3ad
tree62aae408695943586f9fcb208b11a23471aaf8ba
parent0920c9b4c4d896025a560e4510d473dfd41c3dcd
ALSA: hda - Move beep helper functions to hda_beep.c

Move snd_hda_mixer_amp_switch_put_beep() to hda_beep.c as a clean up
to remove one more ifdef.

Also add the corresponding get callback to return consistently the
digital beep state independently from the mixer amp value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h