OSDN Git Service

ALSA: hda - Avoid unnecessary power-up at mixer amp changes
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Feb 2015 09:26:25 +0000 (10:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Feb 2015 09:37:48 +0000 (10:37 +0100)
commit781c7b9615dc1441d6743124086eb3da14bf46e9
treee5fa3f9835fd324f19bf41bbc12b052569f062ac
parent96d2bd6e3cdf57926f80605d6e28051bb6b24eb3
ALSA: hda - Avoid unnecessary power-up at mixer amp changes

When the mixer amp is touched by control elements, we don't have to
power up always; if the codec was suspended at the time, we can just
update the amp cache and it's reflected to the hardware upon resume.

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