Skip to content
Commit 25368c47 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda/via - Fix wrong checks of power state bits



AC_VERB_GET_POWER_STATE returns the combined bits of the actual state
and the target state.  Thus, comparing the obtained value directly
with the target value can't work.  The value has to be shifted and
masked properly.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7dddf2ae
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