Message ID | 2C1563023E232C49B9F505633D57C2DA2640D02360@dlee04.ent.ti.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 18a7497bc77071e75b8a4cf3d800f3b9ebd12491 |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 4229cec..8795f18 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -71,10 +71,10 @@ static int __mbox_msg_send(struct omap_mbox *mbox, mbox_msg_t msg) int ret = 0, i = 1000; while (mbox_fifo_full(mbox)) { - if (mbox->ops->type == OMAP_MBOX_TYPE2) - return -1; - if (--i == 0) + if (--i == 0) { + printk(KERN_ERR "Mailbox send failure\n"); return -1; + } udelay(1); } mbox_fifo_write(mbox, msg);