OSDN Git Service

ASoC: Intel: add dmabuffer to common sst_dsp
authorJeeja KP <jeeja.kp@intel.com>
Fri, 11 Mar 2016 04:42:52 +0000 (10:12 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 06:02:54 +0000 (13:02 +0700)
Broxton uses HDA DMA so needs to keep dmab in the driver context
so add it

Signed-off-by: GuruprasadX Pawse <guruprasadx.pawse@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-dsp-priv.h

index 81aa1ed..97dc1ae 100644 (file)
@@ -317,6 +317,7 @@ struct sst_dsp {
        struct skl_cl_dev cl_dev;
        u32 intr_status;
        const struct firmware *fw;
+       struct snd_dma_buffer dmab;
 };
 
 /* Size optimised DRAM/IRAM memcpy */