Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 82d54c8e authored by Andrew Davis's avatar Andrew Davis Committed by Praneeth Bajjuri
Browse files

mailbox: omap: Reverse FIFO busy check logic


It is much more clear to check if the hardware FIFO is full and return
EBUSY if true. This allows us to also remove one level of indention
from the core of this function. It also makes the similarities between
omap_mbox_chan_send_noirq() and omap_mbox_chan_send() more obvious.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent 2e28549c
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment