Mailbox: disable mailbox interrupt when request queue
commit1ea5d6d18bf1d528ae1081b9176d69c00bd51fa2
authorFernando Guzman Lugo <x0095840@ti.com>
Mon, 8 Feb 2010 19:35:40 +0000 (8 13:35 -0600)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Wed, 4 Aug 2010 12:50:16 +0000 (4 15:50 +0300)
tree47b96ca53236ce4ccbb0c5432ae5f48e517bb8ee
parent72b917ef90084885ffcc5adb69095af02d2b6996
Mailbox: disable mailbox interrupt when request queue

when blk_get_request fails to get the request it is returning
without read the message from the mailbox fifo, then when it
leaves the isr and interruption is trigger again and again and
the workqueue which get elements from the request queue is never
executed and the kernel is stuck and shows a softlockup message.
Now the mailbox interrupt is disabled when request queue is full
and enabled when it pop a elememt form the request queue.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/plat-omap/mailbox.c