]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 18 Jan 2023 10:41:39 +0000 (11:41 +0100)
commit668d6517e672661523bab0ca98518295de35ef20
tree0ee27f74cb88369c0223bc4f1face783b67b17d8
parent16ff20907e096bb17394fc4b3930ad5beadc4d3f
ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c

[ Upstream commit 707fde7a29a973e593b9eccc4f0f7404b0ca0407 ]

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