OSDN Git Service

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)
committerTakashi Iwai <tiwai@suse.de>
Sat, 25 Dec 2021 08:11:09 +0000 (09:11 +0100)
commit12054f0ce8be7d2003ec068ab27c9eb608397b98
treee6568a8b10c6a22fe62b77b4335d7f73eaa5309e
parentdec242b6a8380c08e41e02fb54f1282894fb45cc
ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c

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>
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