Commit e575ea16 authored by Hari Kanigeri's avatar Hari Kanigeri

SYSLINK:notify-fix the notify setup bug

Fixes the wroing check for mailbox structure pointer.
The check should have been for == null instead of
!=null
Signed-off-by: default avatarHari Kanigeri <h-kanigeri2@ti.com>
parent c0adf0b0
......@@ -666,7 +666,7 @@ int notify_ducatidrv_setup(struct notify_ducatidrv_config *cfg)
for (i = 0; i < NOTIFY_MAX_DRIVERS; i++)
ducati_isr_params[i] = NULL;
/* Initialize the maibox modulde for ducati */
if (ducati_mbox != NULL) {
if (ducati_mbox == NULL) {
ducati_mbox = omap_mbox_get("mailbox-2");
if (ducati_mbox == NULL) {
status = -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment