Patch "mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mailbox-sprd-correct-definition-of-sprd_outbox_fifo_.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit b4bed79c1dcd97fe8cb661d8e0adec732bcf3485
Author: Magnum Shan <magnum.shan@xxxxxxxxxx>
Date:   Thu Feb 4 16:18:19 2021 +0800

    mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
    
    [ Upstream commit 4450f128c51160bfded6b483eba37d0628d7adb2 ]
    
    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 <magnum.shan@xxxxxxxxxx>
    Signed-off-by: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>
    Reviewed-by: Baolin Wang <baolin.wang7@xxxxxxxxx>
    Signed-off-by: Jassi Brar <jaswinder.singh@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/mailbox/sprd-mailbox.c b/drivers/mailbox/sprd-mailbox.c
index f6fab24ae8a9a..4c325301a2fe8 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)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux