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

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

Merge "usb: gadget: f_mtp: Handle mtp os desc properly" into msm-4.8

parents 174d6ba6 ac9d7c8b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1827,6 +1827,7 @@ struct usb_function *function_alloc_mtp_ptp(struct usb_function_instance *fi,
	dev->function.disable = mtp_function_disable;
	dev->function.setup = mtp_ctrlreq_configfs;
	dev->function.free_func = mtp_free;
	fi->f = &dev->function;

	return &dev->function;
}