commit | 25368c47aee6d909923001918041f2e94bfa02ef | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Jan 24 17:12:09 2013 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Jan 24 17:14:35 2013 +0100 |
tree | 0aa575fbe760eaf795c4aebe724ca550a2c5e7e9 | |
parent | 7dddf2aed8ffc1fa30df92b57981dea146cdfc0f [diff] |
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: Takashi Iwai <tiwai@suse.de>