diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2015-05-19 15:00:40 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-02 20:48:08 +0100 |
commit | 859c34bd3cabfc79106f9fcb5c55fb4af3eb3ce2 (patch) | |
tree | b85af4c0dba65b8244faa15b96e7535bfb1051f8 /sound/soc/intel/common/sst-ipc.h | |
parent | edd8ed496b98f1b9d9fda5170a90fe41e7f86e6e (diff) | |
download | linux-859c34bd3cabfc79106f9fcb5c55fb4af3eb3ce2.tar.bz2 |
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.h | 4 |
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; |