omap: mailbox: call request_irq after mbox queues are allocated
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Mon, 17 Oct 2011 12:51:44 +0000 (07:51 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Mon, 7 May 2012 08:34:53 +0000 (03:34 -0500)
commit62d7e3ca91dd22ca2771a68b3fde6a7fa6f047b0
tree8442d144e6ed7a2cde4c78065c184284ade73523
parenta3de71de6cf6824bb66935ee0961d9d52df79ae3
omap: mailbox: call request_irq after mbox queues are allocated

Calling request_irq first could provoke that ISR function is executed
before the mbox queues are allocated causing a kernel panic when they are
dereference inside the ISR.

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
arch/arm/plat-omap/mailbox.c