OMAP: mailbox: send message in process context
authorKanigeri, Hari <h-kanigeri2@ti.com>
Mon, 29 Nov 2010 20:24:13 +0000 (20:24 +0000)
committerHari Kanigeri <h-kanigeri2@ti.com>
Thu, 2 Dec 2010 11:43:16 +0000 (05:43 -0600)
commita42743c26a53a2a5f2b2018a9659ab3fb604d5bc
treef25f038eeed91eb7b9e66ad9cc2b071657823837
parentab66ac3007cb3e59fe80dfcf36aff243d3008cb9
OMAP: mailbox: send message in process context

Schedule the Tasklet to send only when mailbox fifo is full and there are
pending messages in kfifo, else send the message directly in the Process
context. This would avoid needless scheduling of Tasklet for every message
transfer

Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Acked-by: Hiroshi Doyu <hiroshi.doyu@nokia.com>
arch/arm/plat-omap/mailbox.c