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

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 54c2a89f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment