ASoC: Intel: Allow to configure max size for mailbox data
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 19 May 2015 09:30:37 +0000 (15:00 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2015 18:24:29 +0000 (19:24 +0100)
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>
sound/soc/intel/common/sst-ipc.h

index 77a3bef..7139afd 100644 (file)
@@ -69,6 +69,8 @@ struct sst_generic_ipc {
        struct kthread_work kwork;
        bool pending;
        struct ipc_message *msg;
+       int tx_data_max_size;
+       int rx_data_max_size;
 
        struct sst_plat_ipc_ops ops;
 };