ASoC: Intel: Initialize max mailbox size for baytrail
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 19 May 2015 09:30:38 +0000 (15:00 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2015 18:24:32 +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/baytrail/sst-baytrail-ipc.c

index 799b804f3e347b70f43d0de977f7bd7603e41e6c..773a47552bdf2a66ab458698923d2825a10a5a03 100644 (file)
@@ -708,6 +708,8 @@ int sst_byt_dsp_init(struct device *dev, struct sst_pdata *pdata)
        ipc->ops.tx_data_copy = byt_tx_data_copy;
        ipc->ops.reply_msg_match = byt_reply_msg_match;
        ipc->ops.is_dsp_busy = byt_is_dsp_busy;
+       ipc->tx_data_max_size = IPC_MAX_MAILBOX_BYTES;
+       ipc->rx_data_max_size = IPC_MAX_MAILBOX_BYTES;
 
        err = sst_ipc_init(ipc);
        if (err != 0)