diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-18 11:29:56 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-18 12:58:47 +0100 |
commit | e914b25e370a3a55a839ff507ed779f54431ace5 (patch) | |
tree | 73779f18794bd94de2974cf3bd4530f21c4cbd8e /kernel | |
parent | ALSA: hda - Move beep attach/detach calls in hda_generic.c (diff) | |
download | linux-e914b25e370a3a55a839ff507ed779f54431ace5.tar.xz linux-e914b25e370a3a55a839ff507ed779f54431ace5.zip |
ALSA: hda - Fix power-saving during playing beep sound
While playing the digital beep tone, the codec shouldn't be turned
off. This patch adds proper snd_hda_power_up()/down() calls at each
time when the beep is played or off.
Also, this fixes automatically an unnecessary codec power-up at
detaching the beep device when the beep isn't being played.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions