ALSA: hda: Fix mismatches for register mask and value in hdac controller
authorKeyon Jie <yang.jie@linux.intel.com>
Wed, 9 Jan 2019 08:20:50 +0000 (16:20 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jan 2019 09:28:44 +0000 (10:28 +0100)
commit081e01f059ba03b25499cb4616ec58db0979406d
tree06760be74e57d0925dbeb299970a7372c685a389
parentbeae77170c60aa786f3e4599c18ead2854d8694d
ALSA: hda: Fix mismatches for register mask and value in hdac controller

E.g. for azx_int_enable(), we should set both mask and value to be
"AZX_INT_CTRL_EN | AZX_INT_GLOBAL_EN"(the mask was 0) to enable
controller CIE and GIE.

We have similar issues on setting AZX_GCTL_RESET and AZX_GCTL_UNSOL,
here try to correct all of them.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_controller.c