QCOM mtp only allow one mtp instance at a time
While Samsung needs to have both mtp and ptp instances
Remove the unneccessary QCOM code
Change-Id: I820b5dd84a3a651aa3c0b10da9fc2076b6097d68
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1307514
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Jun Zhang <zhangj10@motorola.com>
Submit-Approved: Jira Key
mtp_ss_out_comp_desc.bMaxBurst = max_burst;\r
}\r
\r
- fi_mtp->func_inst.f = &dev->function;\r
DBG(cdev, "%s speed %s: IN/%s, OUT/%s\n",\r
gadget_is_superspeed(c->cdev->gadget) ? "super" :\r
(gadget_is_dualspeed(c->cdev->gadget) ? "dual" : "full"),\r
spin_unlock_irq(&dev->lock);\r
kfree(f->os_desc_table);\r
f->os_desc_n = 0;\r
- fi_mtp->func_inst.f = NULL;\r
}\r
\r
static int mtp_function_set_alt(struct usb_function *f,\r