ALSA: hda: ext: reduce ambiguity between 'multi-link' and 'link' DMA
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 19 Oct 2022 16:21:13 +0000 (11:21 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Oct 2022 12:31:41 +0000 (14:31 +0200)
commit26646c199b8cd0be66200fba3fd176c043c25761
tree76d3577539714f8299cbcd740fc60e6e3f2b60bc
parent7fa403f2a0f4a9f0fd0e0e0f472dab60f632f06e
ALSA: hda: ext: reduce ambiguity between 'multi-link' and 'link' DMA

My esteemed colleagues keep using the same words for different things.

The multi-link structure needs to be handled whether the DSP is
enabled or not.

The host and link DMAs are only relevant when the DSP is enabled.

Things get convoluted when there's an ambiguity between the LOSIDV
settings in the multi-link register space and the selection of the
stream_tag for the link DMA.

Clarify with a rename that the static functions used are related to
the host and link DMAs only.

No functionality change, pure rename.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221019162115.185917-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/ext/hdac_ext_stream.c