ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Dec 2021 23:11:27 +0000 (17:11 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:44 +0000 (13:14 +0100)
commit78649a624dfa3e4b35ae215a555f8c551c58bf96
treeda87d592b1f77054e68acf078ae109430b667771
parent98b0f50fec383b8da63d35972b56140ec78cb250
ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c

[ Upstream commit 12054f0ce8be7d2003ec068ab27c9eb608397b98 ]

snd_hdac_ext_stop_streams() has really nothing to do with the
extension, it just loops over the bus streams.

Move it to the hdac_stream layer and rename to remove the 'ext'
prefix and add the precision that the chip will also be stopped.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211216231128.344321-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stable-dep-of: 171107237246 ("ASoC: Intel: Skylake: Fix driver hang during shutdown")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/sound/hdaudio.h
include/sound/hdaudio_ext.h
sound/hda/ext/hdac_ext_stream.c
sound/hda/hdac_stream.c
sound/soc/intel/skylake/skl.c