mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "usb: pd: Process request message as soon as it is received"
This commit is contained in:
commit
c2e807493a
1 changed files with 3 additions and 1 deletions
|
|
@ -3623,8 +3623,10 @@ sm_done:
|
|||
spin_unlock_irqrestore(&pd->rx_lock, flags);
|
||||
|
||||
/* requeue if there are any new/pending RX messages */
|
||||
if (!ret && !pd->sm_queued)
|
||||
if (!ret) {
|
||||
usbpd_dbg(&pd->dev, "Requeuing new/pending RX messages\n");
|
||||
kick_sm(pd, 0);
|
||||
}
|
||||
|
||||
if (!pd->sm_queued)
|
||||
pm_relax(&pd->dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue