summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBibek Basu <bibek.basu@stericsson.com>2011-11-09 08:43:54 +0530
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 09:02:42 +0100
commit0769e8cfb3360798a783b0bbb0b55f30087f87eb (patch)
tree5c5df582b598d2ea957ee9cc289f9f8923c553b1 /arch
parent7f786dbf900fde9c0e91aa6e37ea59d02ee529fc (diff)
u5500 : Logical mailbox : add support for 16 DSP buffers
Number of DSP read buffers has ben increased to 16 to avoid message loss when system waking up. Updated check for message pending with atomic_dec_return API which is more proper in this case. ST-Ericsson Linux next: NA ST-Ericsson ID: 367390 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I99ef44ead99a2b9eb856c01e025423a990b0ba98 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36973 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h b/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h
index c29dfff0ff7..549a9c2c8cb 100644
--- a/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h
+++ b/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h
@@ -11,6 +11,9 @@
/* Maximum number of datawords which can be send in one PDU */
#define MAILBOX_NR_OF_DATAWORDS 3
+/* Number of buffers */
+#define NUM_DSP_BUFFER 16
+
/**
* mbox_channel_cb_t - Definition of the mailbox channel callback.
* @data: Pointer to the data.