bcm53xx: add missed spin unlock to USB host patch

Fixes: 265071af7c ("bcm53xx: add testing support for kernel 6.1")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2023-10-26 14:18:38 +02:00
parent cd86f6c24d
commit 81e7d1776d

View File

@ -90,7 +90,7 @@ it on BCM4708 family.
/*
* Reset a halted HC.
*
@@ -641,6 +684,14 @@ static int xhci_run_finished(struct xhci
@@ -641,6 +684,15 @@ static int xhci_run_finished(struct xhci
return -ENODEV;
}
@ -98,6 +98,7 @@ it on BCM4708 family.
+ int err = xhci_fake_doorbell(xhci, 1);
+ if (err) {
+ xhci_halt(xhci);
+ spin_unlock_irqrestore(&xhci->lock, flags);
+ return err;
+ }
+ }