From: Takashi Iwai Date: Mon, 18 Mar 2013 10:29:56 +0000 (+0100) Subject: ALSA: hda - Fix power-saving during playing beep sound X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e914b25e370a3a55a839ff507ed779f54431ace5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed