aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2015-05-19 05:30:37 -0400
committerMark Brown <broonie@kernel.org>2015-05-22 14:24:29 -0400
commit1925e219610d283901b21a4468e86421baa580b8 (patch)
treea9f5e29fcf408e6afe7497e213dbd555107bbd8a
parenta63faa58bd90477f143f6a9700db91a17593796e (diff)
ASoC: Intel: Allow to configure max size for mailbox data
Mailbox size can be different for different platforms. So allow the drivers to configure the size. 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/common/sst-ipc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/common/sst-ipc.h b/sound/soc/intel/common/sst-ipc.h
index 77a3befd16b0..7139afd2547f 100644
--- a/sound/soc/intel/common/sst-ipc.h
+++ b/sound/soc/intel/common/sst-ipc.h
@@ -69,6 +69,8 @@ struct sst_generic_ipc {
69 struct kthread_work kwork; 69 struct kthread_work kwork;
70 bool pending; 70 bool pending;
71 struct ipc_message *msg; 71 struct ipc_message *msg;
72 int tx_data_max_size;
73 int rx_data_max_size;
72 74
73 struct sst_plat_ipc_ops ops; 75 struct sst_plat_ipc_ops ops;
74}; 76};