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

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

Merge "usb: gadget: f_qdss: Fix unclocked access during connect in qdss mode"

parents e80d07dd 0d4e77a2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -582,6 +582,13 @@ static void usb_qdss_connect_work(struct work_struct *work)
				nr_qdss_ports, qdss->port_num);
		return;
	}
	/* If cable is already removed, discard connect_work */
	if (qdss->usb_connected == 0) {
		pr_debug("%s: discard connect_work\n", __func__);
		cancel_work_sync(&qdss->disconnect_w);
		return;
	}

	pr_debug("usb_qdss_connect_work\n");
	switch (dxport) {
	case USB_GADGET_XPORT_BAM: