Commit cb591ce7 authored by Jayan John's avatar Jayan John Committed by Hari Kanigeri

SYSLINK: ipc - fix in notify_dispatcher.

This patch fixes an issue found in notify_dispatcher.c where we
were not calling iounmap() on "mailbx_hw_config.mbox_linear_addr"
which we had obtained using ioremap() earlier in ntfy_disp_init().
Signed-off-by: default avatarJayan John <x00jayan@ti.com>
parent b0f70e10
......@@ -152,6 +152,8 @@ int ntfy_disp_deinit(void)
mailbx_hw_config.mailboxes[i] = (-1);
}
if (mailbx_hw_config.mbox_linear_addr != NULL)
iounmap((unsigned int *) mailbx_hw_config.mbox_linear_addr);
mailbx_hw_config.mbox_modules = 0;
mailbx_hw_config.mbox_linear_addr = (unsigned long int) (-1);
return 0;
......
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