diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2015-11-10 18:42:05 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-21 13:55:38 +0000 |
commit | 1e83b0475a6833a2cb88beeb79f095b0cf4b40db (patch) | |
tree | db9e106e97fdb33dfdeffaccdaeacfc6b08ec4b3 /include/sound | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | op-kernel-dev-1e83b0475a6833a2cb88beeb79f095b0cf4b40db.zip op-kernel-dev-1e83b0475a6833a2cb88beeb79f095b0cf4b40db.tar.gz |
ALSA: hdac: structure definition for ext_dma_params
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/hdaudio_ext.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h index a4cadd9..425af06 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)) /* |