ALSA: hda: Introduce HOST stream setup mechanism
authorCezary Rojewski <cezary.rojewski@intel.com>
Tue, 26 Sep 2023 08:06:21 +0000 (10:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Oct 2023 09:11:39 +0000 (11:11 +0200)
commit88320b74ef95b678e2e1d091c5220589facab185
treecf89da1e25a00deeebfd4ae9f1f55a3729c89749
parent2ee2c75c589acff83e987abfa74b6d81d237d92f
ALSA: hda: Introduce HOST stream setup mechanism

HDAudio stream setup procedure differs between revisions of the
controller device. Currently the differences are handled directly within
AudioDSP platform drivers with if-statements. Implement a more generic
approach and expose a function that a platform driver may use to ensure
the correct procedure is followed each time.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20230926080623.43927-3-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio_ext.h
sound/hda/ext/hdac_ext_stream.c