summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-06-17 11:20:17 +0530
committerTakashi Iwai <tiwai@suse.de>2015-06-17 12:33:08 +0200
commitbab4445f9a083f087d0ebb4ba3e9dde669a6b9a5 (patch)
tree9e05f2326a6142c015fd257b2b9cf6c92e10499e /include/sound
parente7a3484dc5b15aa69e44a8b29d9a6e512fa3f922 (diff)
downloadop-kernel-dev-bab4445f9a083f087d0ebb4ba3e9dde669a6b9a5.zip
op-kernel-dev-bab4445f9a083f087d0ebb4ba3e9dde669a6b9a5.tar.gz
ALSA: hda: add hda link cleanup routine
In HDA extended bus the HDA link objects are created when multilink capabilities are parsed. We need a routine which free up these link objects for a bus. So add snd_hdac_link_free_all routine Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hdaudio_ext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index 8776616..0f89df1 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -90,6 +90,7 @@ void snd_hdac_ext_stream_init(struct hdac_ext_bus *bus,
int snd_hdac_ext_stream_init_all(struct hdac_ext_bus *ebus, int start_idx,
int num_stream, int dir);
void snd_hdac_stream_free_all(struct hdac_ext_bus *ebus);
+void snd_hdac_link_free_all(struct hdac_ext_bus *ebus);
struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_ext_bus *bus,
struct snd_pcm_substream *substream,
int type);
OpenPOWER on IntegriCloud