aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/mailbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c
index 13ca2365f279..b49bb291c678 100644
--- a/arch/arm/plat-omap/mailbox.c
+++ b/arch/arm/plat-omap/mailbox.c
@@ -209,8 +209,6 @@ static void __mbox_rx_interrupt(struct omap_mbox *mbox)
209 mbox_msg_t msg; 209 mbox_msg_t msg;
210 struct request_queue *q = mbox->rxq->queue; 210 struct request_queue *q = mbox->rxq->queue;
211 211
212 disable_mbox_irq(mbox, IRQ_RX);
213
214 while (!mbox_fifo_empty(mbox)) { 212 while (!mbox_fifo_empty(mbox)) {
215 rq = blk_get_request(q, WRITE, GFP_ATOMIC); 213 rq = blk_get_request(q, WRITE, GFP_ATOMIC);
216 if (unlikely(!rq)) 214 if (unlikely(!rq))
@@ -226,7 +224,6 @@ static void __mbox_rx_interrupt(struct omap_mbox *mbox)
226 224
227 /* no more messages in the fifo. clear IRQ source. */ 225 /* no more messages in the fifo. clear IRQ source. */
228 ack_mbox_irq(mbox, IRQ_RX); 226 ack_mbox_irq(mbox, IRQ_RX);
229 enable_mbox_irq(mbox, IRQ_RX);
230nomem: 227nomem:
231 schedule_work(&mbox->rxq->work); 228 schedule_work(&mbox->rxq->work);
232} 229}