usb: gadget: change the class of MTP interface descriptor 97/85997/3
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 29 Aug 2016 04:30:13 +0000 (13:30 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 31 Aug 2016 07:17:58 +0000 (00:17 -0700)
commit7ce81891422226fdc97062e079cdf67cde378114
treea79e362d9188c7d57be4e60e423857ed56ca37cd
parent8cb58f9379fa642143befd53dcd3ab6d1fdd66cb
usb: gadget: change the class of MTP interface descriptor

The host fails to recognize tm2(e) as gadget mode when VID is changed, even
though the matching is performed without comparing VID. This patch fixes
this issue by changing the class of MTP interface descriptor.

Change-Id: I75c1ff710c28bb7c911963bce6c8cdb328424b95
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
drivers/usb/gadget/function/f_mtp.c