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

Commit 9cae9ef1 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: Notify QTI upon cable connect for DPL"

parents 0a871fa3 400f4116
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2537,6 +2537,10 @@ static int gsi_set_alt(struct usb_function *f, unsigned intf, unsigned alt)

	atomic_set(&gsi->connected, 1);

	/* send 0 len pkt to qti to notify state change */
	if (gsi->prot_id == IPA_USB_DIAG)
		gsi_ctrl_send_cpkt_tomodem(gsi, NULL, 0);

	return 0;

notify_ep_disable: