summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2023-10-26 14:18:38 +0200
committerRafał Miłecki <rafal@milecki.pl>2023-10-26 16:06:49 +0200
commit81e7d1776df7b8481ad9c176fcee13041ae28d1d (patch)
tree57c6eea1b0d9238927af73bd4dcf5f3c0356763a
parentcd86f6c24daace0c5c610dbc2a2c472014598ecd (diff)
downloadopenwrt-81e7d1776df7b8481ad9c176fcee13041ae28d1d.tar.gz
openwrt-81e7d1776df7b8481ad9c176fcee13041ae28d1d.tar.bz2
openwrt-81e7d1776df7b8481ad9c176fcee13041ae28d1d.zip
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>
-rw-r--r--target/linux/bcm53xx/patches-6.1/180-usb-xhci-add-support-for-performing-fake-doorbell.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/patches-6.1/180-usb-xhci-add-support-for-performing-fake-doorbell.patch b/target/linux/bcm53xx/patches-6.1/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
index 37bf49c98c..049b8c98d1 100644
--- a/target/linux/bcm53xx/patches-6.1/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
+++ b/target/linux/bcm53xx/patches-6.1/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
@@ -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;
+ }
+ }