ALSA: hdac: Add snd_hdac_get_hdac_stream()
[firefly-linux-kernel-4.4.55.git] / include / sound / hdaudio.h
index 23a44c39c51c30b14dc346a8938b09e3482baf88..49bc836fcd8483d522c48dc604fc3ba0d1bf153e 100644 (file)
@@ -438,6 +438,8 @@ void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev,
 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
                                           struct snd_pcm_substream *substream);
 void snd_hdac_stream_release(struct hdac_stream *azx_dev);
+struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
+                                       int dir, int stream_tag);
 
 int snd_hdac_stream_setup(struct hdac_stream *azx_dev);
 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev);