diff mbox

omap: mailbox - fix missing mbox owner assignment when creating queue

Message ID 1287543220-15483-1-git-send-email-x0095840@ti.com (mailing list archive)
State New, archived
Delegated to: Hiroshi DOYU
Headers show

Commit Message

Guzman Lugo, Fernando Oct. 20, 2010, 2:53 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c
index c59c9c3..b1e0e8f 100644
--- a/arch/arm/plat-omap/mailbox.c
+++ b/arch/arm/plat-omap/mailbox.c
@@ -217,6 +217,7 @@  static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox,
 		return NULL;
 
 	spin_lock_init(&mq->lock);
+	mq->mbox = mbox;
 
 	if (kfifo_alloc(&mq->fifo, mbox_kfifo_size, GFP_KERNEL))
 		goto error;