diff options
| author | Magnum Shan <[email protected]> | 2021-02-04 08:18:19 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2021-02-15 05:28:20 +0000 |
| commit | 4450f128c51160bfded6b483eba37d0628d7adb2 (patch) | |
| tree | f232827cf0f47332b95a922d7e670f602be4d8e8 | |
| parent | mailbox: arm_mhuv2: make remove callback return void (diff) | |
| download | kernel-4450f128c51160bfded6b483eba37d0628d7adb2.tar.gz kernel-4450f128c51160bfded6b483eba37d0628d7adb2.zip | |
mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
According to the specification, bit[2] represents SPRD_OUTBOX_FIFO_FULL,
not bit[0], so correct it.
Fixes: ca27fc26cd22 ("mailbox: sprd: Add Spreadtrum mailbox driver")
Signed-off-by: Magnum Shan <[email protected]>
Signed-off-by: Chunyan Zhang <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
| -rw-r--r-- | drivers/mailbox/sprd-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/sprd-mailbox.c b/drivers/mailbox/sprd-mailbox.c index f6fab24ae8a9..4c325301a2fe 100644 --- a/drivers/mailbox/sprd-mailbox.c +++ b/drivers/mailbox/sprd-mailbox.c @@ -35,7 +35,7 @@ #define SPRD_MBOX_IRQ_CLR BIT(0) /* Bit and mask definiation for outbox's SPRD_MBOX_FIFO_STS register */ -#define SPRD_OUTBOX_FIFO_FULL BIT(0) +#define SPRD_OUTBOX_FIFO_FULL BIT(2) #define SPRD_OUTBOX_FIFO_WR_SHIFT 16 #define SPRD_OUTBOX_FIFO_RD_SHIFT 24 #define SPRD_OUTBOX_FIFO_POS_MASK GENMASK(7, 0) |
