Skip to content
Commit e914b25e authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 7504b6cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment