diff mbox

[3/4] ALSA: hdac: structure definition for ext_dma_params

Message ID 1444054191-17030-4-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Commit 1e83b0475a6833a2cb88beeb79f095b0cf4b40db
Headers show

Commit Message

Vinod Koul Oct. 5, 2015, 2:09 p.m. UTC
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>

This extends the structure definition of hdac_ext_device and adds definition for
dma_params which will be used with HDA codec.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 include/sound/hdaudio_ext.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index 94210dcdb6ea..719edff2a77b 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -179,9 +179,15 @@  struct hdac_ext_device {
 	/* codec ops */
 	struct hdac_ext_codec_ops ops;
 
+	struct snd_card *card;
+	void *scodec;
 	void *private_data;
 };
 
+struct hdac_ext_dma_params {
+	u32 format;
+	u8 stream_tag;
+};
 #define to_ehdac_device(dev) (container_of((dev), \
 				 struct hdac_ext_device, hdac))
 /*