Skip to content

Commit

Permalink
fix error build
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   drivers/extcon/extcon.c
	modified:   drivers/mailbox/mailbox.c
  • Loading branch information
roniwae committed Dec 12, 2023
1 parent 5e400a7 commit 289359c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mailbox/mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ static int __msg_submit(struct mbox_chan *chan)
}
exit:
spin_unlock_irqrestore(&chan->lock, flags);
(mailbox: forward the hrtimer if not queued and under a lock)
if (!err && (chan->txdone_method & TXDONE_BY_POLL)) {
/* kick start the timer immediately to avoid delays */
spin_lock_irqsave(&chan->mbox->poll_hrt_lock, flags);
Expand All @@ -104,7 +103,7 @@ static void tx_tick(struct mbox_chan *chan, int r)
spin_unlock_irqrestore(&chan->lock, flags);

/* Submit next message */
msg_submit(chan);
__msg_submit(chan);

if (!mssg)
return;
Expand Down

0 comments on commit 289359c

Please sign in to comment.