mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
sunxi-5.15: Switch version to the v5.15.46 tag (#3886)
This commit is contained in:
@@ -18,7 +18,7 @@ case $BRANCH in
|
||||
|
||||
current)
|
||||
KERNEL_VERSION_LEVEL="5.15"
|
||||
KERNELSWITCHOBJ="tag=v5.15.45"
|
||||
KERNELSWITCHOBJ="tag=v5.15.46"
|
||||
;;
|
||||
|
||||
edge)
|
||||
|
||||
@@ -18,7 +18,7 @@ case $BRANCH in
|
||||
;;
|
||||
current)
|
||||
KERNEL_VERSION_LEVEL="5.15"
|
||||
KERNELSWITCHOBJ="tag=v5.15.45"
|
||||
KERNELSWITCHOBJ="tag=v5.15.46"
|
||||
;;
|
||||
edge)
|
||||
KERNEL_VERSION_LEVEL=${KERNEL_VERSION_LEVEL:-5.18}
|
||||
|
||||
@@ -18,22 +18,24 @@ diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c
|
||||
index 3e7d4b20a..82ca7c317 100644
|
||||
--- a/drivers/mailbox/mailbox.c
|
||||
+++ b/drivers/mailbox/mailbox.c
|
||||
@@ -84,9 +84,11 @@ static void msg_submit(struct mbox_chan *chan)
|
||||
@@ -83,10 +83,12 @@ static void msg_submit(struct mbox_chan *chan)
|
||||
spin_unlock_irqrestore(&chan->lock, flags);
|
||||
|
||||
/* kick start the timer immediately to avoid delays */
|
||||
if (!err && (chan->txdone_method & TXDONE_BY_POLL)) {
|
||||
- /* but only if not already active */
|
||||
- if (!hrtimer_active(&chan->mbox->poll_hrt))
|
||||
- hrtimer_start(&chan->mbox->poll_hrt, 0, HRTIMER_MODE_REL);
|
||||
- /* kick start the timer immediately to avoid delays */
|
||||
- spin_lock_irqsave(&chan->mbox->poll_hrt_lock, flags);
|
||||
- hrtimer_start(&chan->mbox->poll_hrt, 0, HRTIMER_MODE_REL);
|
||||
- spin_unlock_irqrestore(&chan->mbox->poll_hrt_lock, flags);
|
||||
+ if (!timekeeping_suspended) {
|
||||
+ /* but only if not already active */
|
||||
+ if (!hrtimer_active(&chan->mbox->poll_hrt))
|
||||
+ hrtimer_start(&chan->mbox->poll_hrt, 0, HRTIMER_MODE_REL);
|
||||
+ /* kick start the timer immediately to avoid delays */
|
||||
+ spin_lock_irqsave(&chan->mbox->poll_hrt_lock, flags);
|
||||
+ hrtimer_start(&chan->mbox->poll_hrt, 0, HRTIMER_MODE_REL);
|
||||
+ spin_unlock_irqrestore(&chan->mbox->poll_hrt_lock, flags);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,6 +264,24 @@ int mbox_send_message(struct mbox_chan *chan, void *mssg)
|
||||
@@ -268,6 +270,24 @@ int mbox_send_message(struct mbox_chan *chan, void *mssg)
|
||||
|
||||
msg_submit(chan);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user