Skip to content

Commit

Permalink
ALSA: hda - Check power-state before changing in patch_via.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Feb 2, 2012
1 parent 54c2a89 commit 054d867
Showing 1 changed file with 107 additions and 149 deletions.
Loading

0 comments on commit 054d867

Please sign in to comment.