ALSA: hda: Fix several mismatch for register mask and value
authorKeyon Jie <yang.jie@linux.intel.com>
Mon, 3 Sep 2018 02:47:09 +0000 (10:47 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Sep 2018 21:47:40 +0000 (23:47 +0200)
commitf7c50fa636f72490baceb1664ba64973137266f2
tree7c3e2b37558196af6fa12802294d3c1a70e79cde
parent5a7b44a8df822e0667fc76ed7130252523993bda
ALSA: hda: Fix several mismatch for register mask and value

E.g. for snd_hdac_ext_link_clear_stream_id(), we should set (1 << stream)
as mask, and 0 as value, here correct it and several similar mismatches.

And, here also remove unreadable register_mask usage for those mask value
updating.

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