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@stericsson.com>2012-05-22 11:07:18 +0200
commitb2d7e3663953da7a80a705ec1f04c7019a4b017c (patch)
treefacd3186f3c7aba7f0e7a13ec632f92eb06d528c /arch
parent9248d80ae25edb2b61110a3d47690a0388d78c51 (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.