summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2010-08-25 18:13:19 -0500
committerSebastien Jan <s-jan@ti.com>2010-09-01 09:41:44 +0200
commita03ca08b476d4fed247aed7f1d7eef582cf2f03b (patch)
treeda96ee921309ed9815ca0f7d78d313ec47fb4604
parentfb702e946578860cc191b2f9d24c62ee83e4223c (diff)
SYSLINK: notify - increase reserved events to 4
IPC uses the first 4 notify events for internal notifications. The Notify reserved events should therefore be 4, and not 3. Otherwise, it would allow the users to get notified and send a wrong value back using event 3. Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r--drivers/dsp/syslink/omap_notify/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dsp/syslink/omap_notify/notify.c b/drivers/dsp/syslink/omap_notify/notify.c
index 6b8d1d8c2a6c..73ad52d6ec95 100644
--- a/drivers/dsp/syslink/omap_notify/notify.c
+++ b/drivers/dsp/syslink/omap_notify/notify.c
@@ -45,7 +45,7 @@ struct notify_module_object notify_state = {
.def_cfg.num_events = 32u,
.def_cfg.send_event_poll_count = -1u,
.def_cfg.num_lines = 1u,
- .def_cfg.reserved_events = 3u,
+ .def_cfg.reserved_events = 4u,
.gate_handle = NULL,
.local_notify_handle = NULL
};