bcm53xx: add missed spin unlock to USB host patch
Fixes: 265071af7c45 ("bcm53xx: add testing support for kernel 6.1") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
cd86f6c24d
commit
81e7d1776d
@ -90,7 +90,7 @@ it on BCM4708 family.
|
|||||||
/*
|
/*
|
||||||
* Reset a halted HC.
|
* 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;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,6 +98,7 @@ it on BCM4708 family.
|
|||||||
+ int err = xhci_fake_doorbell(xhci, 1);
|
+ int err = xhci_fake_doorbell(xhci, 1);
|
||||||
+ if (err) {
|
+ if (err) {
|
||||||
+ xhci_halt(xhci);
|
+ xhci_halt(xhci);
|
||||||
|
+ spin_unlock_irqrestore(&xhci->lock, flags);
|
||||||
+ return err;
|
+ return err;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user