diff options
author | LiGang <b41990@freescale.com> | 2013-01-05 17:01:53 +0800 |
---|---|---|
committer | LiGang <b41990@freescale.com> | 2013-01-05 17:22:46 +0800 |
commit | e9ee4e62803e4ac83b212f4b600203e0cd3f3fa1 (patch) | |
tree | d7a745b98eb8808eb0b82d2f3db62e32a2ff38d3 | |
parent | c6a40e044fb82c29c3cbfe8729f6d7a320084745 (diff) |
ENGR00237588: Add PTP ctrl request func
PC maybe issue out MTP_REQ_GET_DEVICE_STATUS control request to query the
device status when device in PTP mode. So it's necessary to add ctrl request
function for PTP.
Signed-off-by: LiGang <b41990@freescale.com>
-rw-r--r-- | drivers/usb/gadget/android.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index c9e3dd95e1d4..7e3b161da5d7 100644 --- a/drivers/usb/gadget/android.c +++ b/drivers/usb/gadget/android.c @@ -336,6 +336,7 @@ static struct android_usb_function ptp_function = { .init = ptp_function_init, .cleanup = ptp_function_cleanup, .bind_config = ptp_function_bind_config, + .ctrlrequest = mtp_function_ctrlrequest, }; |