ALSA: hdac: Add snd_hdac_get_hdac_stream()
authorJeeja KP <jeeja.kp@intel.com>
Sun, 23 Aug 2015 06:22:51 +0000 (11:52 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sun, 23 Aug 2015 07:43:27 +0000 (09:43 +0200)
commit4308c9b083fbab1a442e68a03de099841791df27
tree664c2721d627828f15465b4092c39314aef6d237
parent54d1d2f5f0886f7c31512c83a6ed87bbcd0d2b3a
ALSA: hdac: Add snd_hdac_get_hdac_stream()

Add a helper to find the stream using stream tag and direction.
This is useful for drivers to query stream based on stream tag
and direction, fox example while downloading FW thru DSP loader
code

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>
include/sound/hdaudio.h
sound/hda/hdac_stream.c