diff options
author | Andrew Davis <afd@ti.com> | 2024-04-10 16:59:41 +0300 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2024-05-20 06:29:44 +0300 |
commit | 04a07a3441481157e7aeb212c9405123c80e65b9 (patch) | |
tree | 1ba25d8c79c61c824f9c6f670282279a55ed48dd /drivers/platform/chrome/cros_usbpd_notify.c | |
parent | 5aa00b68eadee64e1a6e95325f364511f37631d8 (diff) | |
download | linux-04a07a3441481157e7aeb212c9405123c80e65b9.tar.xz |
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: Andrew Davis <afd@ti.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'drivers/platform/chrome/cros_usbpd_notify.c')
0 files changed, 0 insertions, 0 deletions