ANDROID: usb: gadget: Add support for MTP OS desc
authorBadhri Jagan Sridharan <Badhri@google.com>
Wed, 7 Oct 2015 03:32:01 +0000 (20:32 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:01 +0000 (16:50 +0530)
commitabf8eef2ed2e5270047a2ae524d161e0f2c04350
tree6d3e0ae70fc226235a9bd57923a8e3446552ccfe
parent584d9e82958e16fd3f38c9206f4ef9b64f632a18
ANDROID: usb: gadget: Add support for MTP OS desc

Windows requires OS specific descriptors for automatic
install of drivers for MTP devices.

https://msdn.microsoft.com/en-us/library/windows/
hardware/gg463179.aspx

BUG=24583401
BUG=chrome-os-partner:43409

Change-Id: I9397072ca3d183efbc9571c6cde3790f10d8851e
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Reviewed-on: https://chromium-review.googlesource.com/304346
Commit-Ready: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/usb/gadget/function/f_mtp.c