ALSA: hda/via - Fix wrong checks of power state bits
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 16:12:09 +0000 (17:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 16:14:35 +0000 (17:14 +0100)
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: Takashi Iwai <tiwai@suse.de>

No differences found