usb: gadget: change the class of MTP interface descriptor
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, 14 Dec 2016 04:52:45 +0000 (13:52 +0900)
commit95098476e89a82c037e1cec1ef92538b54e8886e
tree6b32e2cd35d186a67a953ae0d2174c9b599436df
parentdc004c01a71dacbb7c5a65c27f00dd0f6b1320ac
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