]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up 4.4 and 4.9 xhci patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Nov 2018 13:18:57 +0000 (14:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Nov 2018 13:18:57 +0000 (14:18 +0100)
queue-4.4/usb-xhci-fix-uninitialized-completion-when-usb3-port-got-wrong-status.patch
queue-4.9/usb-xhci-fix-uninitialized-completion-when-usb3-port-got-wrong-status.patch

index 156f046d3601d6f39f2e2b14cfcc79bddfa32d69..4f30432c1050e7822af0d85d066bc7910d6f7b1a 100644 (file)
@@ -46,7 +46,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
         * out of the RExit state.
         */
 -      if (!DEV_SUPERSPEED_ANY(temp) &&
-+      if (!DEV_SUPERSPEED_ANY(portsc) && hcd->speed < HCD_USB3 &&
++      if (!DEV_SUPERSPEED_ANY(temp) && hcd->speed < HCD_USB3 &&
                        test_and_clear_bit(faked_port_index,
                                &bus_state->rexit_ports)) {
                complete(&bus_state->rexit_done[faked_port_index]);
index 421f042a00fc4a5c81496d13e44bdd63fb3b6c5a..9a1efcc8513689f1c4e341bc8ea4fd917b41cb33 100644 (file)
@@ -46,7 +46,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
         * out of the RExit state.
         */
 -      if (!DEV_SUPERSPEED_ANY(temp) &&
-+      if (!DEV_SUPERSPEED_ANY(portsc) && hcd->speed < HCD_USB3 &&
++      if (!DEV_SUPERSPEED_ANY(temp) && hcd->speed < HCD_USB3 &&
                        test_and_clear_bit(faked_port_index,
                                &bus_state->rexit_ports)) {
                complete(&bus_state->rexit_done[faked_port_index]);