]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge v6.12-rc6 into usb-next
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2024 08:55:37 +0000 (09:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2024 08:56:08 +0000 (09:56 +0100)
We need the USB fixes in here as well, and this resolves a merge
conflict in:
drivers/usb/typec/tcpm/tcpm.c

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20241101150730.090dc30f@canb.auug.org.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
MAINTAINERS
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-ring.c
drivers/usb/typec/class.c
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
drivers/usb/typec/tcpm/tcpm.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
index a8fcca029e784caed01c9ef59c0d00988bfcc07a,7ae341a403424cbc00825ad3c8ac740213ef9193..0334a41c710c07a2d74159e96e0f3fe444f10461
@@@ -5055,10 -5042,13 +5056,14 @@@ static void run_state_machine(struct tc
                if (port->vbus_never_low) {
                        port->vbus_never_low = false;
                        tcpm_set_state(port, SNK_SOFT_RESET,
 -                                     PD_T_SINK_WAIT_CAP);
 +                                     port->timings.sink_wait_cap_time);
                } else {
 -                      tcpm_set_state(port, upcoming_state, PD_T_SINK_WAIT_CAP);
+                       if (!port->self_powered)
+                               upcoming_state = SNK_WAIT_CAPABILITIES_TIMEOUT;
+                       else
+                               upcoming_state = hard_reset_state(port);
 +                      tcpm_set_state(port, SNK_WAIT_CAPABILITIES_TIMEOUT,
 +                                     port->timings.sink_wait_cap_time);
                }
                break;
        case SNK_WAIT_CAPABILITIES_TIMEOUT: