From 81e7d1776df7b8481ad9c176fcee13041ae28d1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 26 Oct 2023 14:18:38 +0200 Subject: [PATCH] bcm53xx: add missed spin unlock to USB host patch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 265071af7c45 ("bcm53xx: add testing support for kernel 6.1") Signed-off-by: Rafał Miłecki --- ...180-usb-xhci-add-support-for-performing-fake-doorbell.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; + } + } -- 2.30.2