Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ae7613f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: gadget: Update dwc->link_state on connect interrupt"

parents 6b7a46c4 70516292
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2990,6 +2990,8 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
	dwc->speed = speed;

	dwc3_update_ram_clk_sel(dwc, speed);
	dwc->link_state = dwc3_get_link_state(dwc);
	pr_debug("%s(): LINK_STATE:%d\n", __func__, dwc->link_state);

	switch (speed) {
	case DWC3_DCFG_SUPERSPEED: