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

Commit 251b6b48 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: f_gsi: Resume USB on handling disconnect event in suspend state"

parents 27453602 f5a4da3f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -827,9 +827,11 @@ static void ipa_work_handler(struct work_struct *w)
			ipa_resume_work_handler(d_port);
			d_port->sm_state = STATE_CONNECTED;
		} else if (event == EVT_DISCONNECTED) {
			usb_gadget_autopm_get(d_port->gadget);
			ipa_disconnect_work_handler(d_port);
			d_port->sm_state = STATE_INITIALIZED;
			log_event_dbg("%s: ST_SUS_EVT_DIS", __func__);
			usb_gadget_autopm_put_async(d_port->gadget);
		}
		break;
	default: