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

Commit b9808b6b authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: f_mtp: Don't reset string id during function_unbind" into msm-4.8

parents 16828eae 767e610f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1423,7 +1423,6 @@ mtp_function_unbind(struct usb_configuration *c, struct usb_function *f)
	struct usb_request *req;
	int i;

	mtp_string_defs[INTERFACE_STRING_INDEX].id = 0;
	while ((req = mtp_req_get(dev, &dev->tx_idle)))
		mtp_request_free(req, dev->ep_in);
	for (i = 0; i < RX_REQ_MAX; i++)