summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2015-05-19 11:30:39 +0200
committerMark Brown <broonie@kernel.org>2015-05-22 20:24:35 +0200
commitd0e72cc0ac3dcebf0de179ba1dd33a276642c5bb (patch)
treeafa5df8469f6ac238b3299d12bcb506c360d2a05
parentASoC: Intel: Initialize max mailbox size for baytrail (diff)
downloadlinux-d0e72cc0ac3dcebf0de179ba1dd33a276642c5bb.tar.xz
linux-d0e72cc0ac3dcebf0de179ba1dd33a276642c5bb.zip
ASoC: Intel: Initialize max mailbox size for haswell
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>
-rw-r--r--sound/soc/intel/haswell/sst-haswell-ipc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c
index 6304e4bfccd6..f95f271aab0c 100644
--- a/sound/soc/intel/haswell/sst-haswell-ipc.c
+++ b/sound/soc/intel/haswell/sst-haswell-ipc.c
@@ -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;