]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hdac: structure definition for ext_dma_params
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 10 Nov 2015 13:12:05 +0000 (18:42 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 21 Nov 2015 13:55:38 +0000 (13:55 +0000)
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>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hdaudio_ext.h

index a4cadd9c297a810e1bb548d2cb02e4ab92b5eea2..425af06745579f42d784bbe8b19e3d12c3ecced4 100644 (file)
@@ -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))
 /*