omap: mailbox: enable mailbox irq per instance
authorJuan Gutierrez <jgutierrez@ti.com>
Fri, 19 Aug 2011 20:38:23 +0000 (15:38 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Mon, 7 May 2012 08:34:58 +0000 (03:34 -0500)
commitb5fbe81fc33a7d9c4264eb8e4da2a461e140e06a
tree25b597da33cb13526e72ded8923cf5a917545e7b
parent62d7e3ca91dd22ca2771a68b3fde6a7fa6f047b0
omap: mailbox: enable mailbox irq per instance

The machine-specific omap2_mbox_startup is called only once
to initialize the whole mbox module. Enabling mbox irq at
startup is only enabling the irq of the very first mailbox
instance created.

The enable_irq function should be called every time a
new mbox instance is created, in the generic platform
mailbox layer.

Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/mach-omap2/mailbox.c
arch/arm/plat-omap/mailbox.c