ALSA: hdac: Fix incorrect update of stream id mapping
Bits in LOSIDV need to be set to map the stream id for specific link. Fixing this by setting the required bits in the register. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Родитель
425a570e1b
Коммит
88b19968a2
|
@ -227,7 +227,7 @@ EXPORT_SYMBOL_GPL(snd_hdac_ext_link_stream_setup);
|
||||||
void snd_hdac_ext_link_set_stream_id(struct hdac_ext_link *link,
|
void snd_hdac_ext_link_set_stream_id(struct hdac_ext_link *link,
|
||||||
int stream)
|
int stream)
|
||||||
{
|
{
|
||||||
snd_hdac_updatew(link->ml_addr, AZX_REG_ML_LOSIDV, (1 << stream), 0);
|
snd_hdac_updatew(link->ml_addr, AZX_REG_ML_LOSIDV, (1 << stream), 1 << stream);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(snd_hdac_ext_link_set_stream_id);
|
EXPORT_SYMBOL_GPL(snd_hdac_ext_link_set_stream_id);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче