diff options
author | LiGang <b41990@freescale.com> | 2013-01-05 17:01:53 +0800 |
---|---|---|
committer | Tapani <tapani@vmail.me> | 2013-03-29 11:42:32 +0800 |
commit | e3b12e0d518228b48e4b642adc52498fbb4b61c2 (patch) | |
tree | 56925af860a05fe91bb3f7f04668a08339842728 | |
parent | 852e3e8b22ae9a43f31a2c5dd4779068d1042977 (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, }; |