commit | 054d867e032daf55c3343fc6d36c5c5f1e7954db | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 24 12:25:50 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Feb 02 10:15:16 2012 +0100 |
tree | 016891c36c141beb4e098781a711e23f8e43d259 | |
parent | 54c2a89f60fd71b924d0f848ac892442951401a6 [diff] |
ALSA: hda - Check power-state before changing in patch_via.c Instead of always writing AC_VERB_SET_POWER_STATE, check the current power-state and don't write again if the value is already set. This may reduce the click noise upon the dynamic power-state change (e.g. in analog-input mixer). Signed-off-by: Takashi Iwai <tiwai@suse.de>