OSDN Git Service

ALSA: hda: Fix a mask wrong issue in snd_hdac_stream_start()
authorKeyon Jie <yang.jie@linux.intel.com>
Wed, 9 Jan 2019 08:20:51 +0000 (16:20 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jan 2019 09:29:18 +0000 (10:29 +0100)
commitfc2a6cf060d0c6feeb3719bf40088e48c5926e40
treeede7813da14b78480bb290dd2a0eb3f691a5b902
parent081e01f059ba03b25499cb4616ec58db0979406d
ALSA: hda: Fix a mask wrong issue in snd_hdac_stream_start()

To enable SIE(Stream Interrupt Enable) in snd_hdac_stream_start(), we
should set both mask and value to be "1 << azx_dev->index" for register
update, the mask was 0, here fix it.

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