diff mbox

[v3,1/6] ALSA: hdac: structure definition for ext_dma_params

Message ID 1445931737-30393-2-git-send-email-vinod.koul@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vinod Koul Oct. 27, 2015, 7:42 a.m. UTC
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>

This extends the structure definition of ext_device and adds
definition for dma_params which will be used when hdmi 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(+)

Comments

Mark Brown Nov. 1, 2015, 2:56 a.m. UTC | #1
On Tue, Oct 27, 2015 at 04:42:12PM +0900, Vinod Koul wrote:
> From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
> 
> This extends the structure definition of ext_device and adds
> definition for dma_params which will be used when hdmi 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(+)

Takashi?
Takashi Iwai Nov. 2, 2015, 9:09 a.m. UTC | #2
On Sun, 01 Nov 2015 03:56:52 +0100,
Mark Brown wrote:
> 
> On Tue, Oct 27, 2015 at 04:42:12PM +0900, Vinod Koul wrote:
> > From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
> > 
> > This extends the structure definition of ext_device and adds
> > definition for dma_params which will be used when hdmi 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(+)
> 
> Takashi?

Acked-by: Takashi Iwai <tiwai@suse.de>


Takashi
diff mbox

Patch

diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index a4cadd9c297a..425af0674557 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -186,9 +186,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))
 /*