ASoC: Intel: Initialize max mailbox size for haswell
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 19 May 2015 09:30:39 +0000 (15:00 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2015 18:24:35 +0000 (19:24 +0100)
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/haswell/sst-haswell-ipc.c

index 6304e4bfccd67a3977436551f42b5936d951ba08..f95f271aab0ce30412954428b426af2461438dea 100644 (file)
@@ -2127,6 +2127,9 @@ int sst_hsw_dsp_init(struct device *dev, struct sst_pdata *pdata)
        ipc->ops.reply_msg_match = hsw_reply_msg_match;
        ipc->ops.is_dsp_busy = hsw_is_dsp_busy;
 
+       ipc->tx_data_max_size = IPC_MAX_MAILBOX_BYTES;
+       ipc->rx_data_max_size = IPC_MAX_MAILBOX_BYTES;
+
        ret = sst_ipc_init(ipc);
        if (ret != 0)
                goto ipc_init_err;