Commit 98fdb900 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

Updated OMAP4 IRQ definitions in notify dispatcher

Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent b7537269
...@@ -193,7 +193,7 @@ int ntfy_disp_init(void) ...@@ -193,7 +193,7 @@ int ntfy_disp_init(void)
(u32)ioremap(OMAP_MBOX_BASE, OMAP_MBOX_SIZE); (u32)ioremap(OMAP_MBOX_BASE, OMAP_MBOX_SIZE);
mailbx_hw_config.mbox_modules = 1; mailbx_hw_config.mbox_modules = 1;
mailbx_hw_config.interrupt_lines[(mailbx_hw_config.mbox_modules-1)] mailbx_hw_config.interrupt_lines[(mailbx_hw_config.mbox_modules-1)]
= INT_24XX_MAIL_U0_MPU; = INT_44XX_MAIL_U0_MPU;
mailbx_hw_config.mailboxes[(mailbx_hw_config.mbox_modules-1)] mailbx_hw_config.mailboxes[(mailbx_hw_config.mbox_modules-1)]
= kmpu_mailboxes; = kmpu_mailboxes;
...@@ -314,6 +314,7 @@ int ntfy_disp_register(unsigned long int mbox_module_no, ...@@ -314,6 +314,7 @@ int ntfy_disp_register(unsigned long int mbox_module_no,
i_mbox_module_no = mbox_module_no; i_mbox_module_no = mbox_module_no;
i_a_irq_bit = a_irq_bit; i_a_irq_bit = a_irq_bit;
/*Validate the parameters */ /*Validate the parameters */
if (mbox_module_no > mailbx_hw_config.mbox_modules) { if (mbox_module_no > mailbx_hw_config.mbox_modules) {
status = -EINVAL; status = -EINVAL;
......
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