summaryrefslogtreecommitdiff
path: root/sound/soc/intel/common/sst-ipc.h
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2015-05-19 15:00:40 +0530
committerMark Brown <broonie@kernel.org>2015-06-02 20:48:08 +0100
commit859c34bd3cabfc79106f9fcb5c55fb4af3eb3ce2 (patch)
treeb85af4c0dba65b8244faa15b96e7535bfb1051f8 /sound/soc/intel/common/sst-ipc.h
parentedd8ed496b98f1b9d9fda5170a90fe41e7f86e6e (diff)
ASoC: Intel: Allocate for the mailbox with max size
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/sst-ipc.h')
-rw-r--r--sound/soc/intel/common/sst-ipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/common/sst-ipc.h b/sound/soc/intel/common/sst-ipc.h
index 7139afd2547f..ceb7e468a3fa 100644
--- a/sound/soc/intel/common/sst-ipc.h
+++ b/sound/soc/intel/common/sst-ipc.h
@@ -32,9 +32,9 @@ struct ipc_message {
u64 header;
/* direction wrt host CPU */
- char tx_data[IPC_MAX_MAILBOX_BYTES];
+ char *tx_data;
size_t tx_size;
- char rx_data[IPC_MAX_MAILBOX_BYTES];
+ char *rx_data;
size_t rx_size;
wait_queue_head_t waitq;