diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2021-12-06 15:15:48 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2021-12-06 15:19:01 +0900 |
commit | 5e7ac0009024f529bee10090e7a56efb568d4c69 (patch) | |
tree | 75f843a333aca77427b05b3fa03f17593f5cea8b | |
parent | f6015ff0665cb78a7f5a57fee68d45d449f213fa (diff) | |
download | device-common-5e7ac0009024f529bee10090e7a56efb568d4c69.tar.gz device-common-5e7ac0009024f529bee10090e7a56efb568d4c69.tar.bz2 device-common-5e7ac0009024f529bee10090e7a56efb568d4c69.zip |
usb_gadget: to support diag mode for ffssubmit/tizen/20211206.061425accepted/tizen/unified/20211207.133144
gems requires diag mode, which should operate in ffs.
Change-Id: I9ee7714c016add5ef42abb0b6fc03f1e0a1266bf
-rw-r--r-- | src/usb_gadget/usb_gadget_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usb_gadget/usb_gadget_common.c b/src/usb_gadget/usb_gadget_common.c index 2088dd2..5d0ffb0 100644 --- a/src/usb_gadget/usb_gadget_common.c +++ b/src/usb_gadget/usb_gadget_common.c @@ -278,7 +278,7 @@ DEFINE_USB_FUNCTION(USB_FUNCTION_MTP, mtp, 1, "mtp-responder", N DEFINE_USB_FUNCTION(USB_FUNCTION_ACM, acm, 0, "data-router", NULL); DEFINE_USB_FUNCTION(USB_FUNCTION_SDB, sdb, 1, "sdbd", NULL); DEFINE_USB_FUNCTION(USB_FUNCTION_RNDIS, rndis, 0, "sshd", rndis_handler); -DEFINE_USB_FUNCTION(USB_FUNCTION_DIAG, diag, 0, NULL, NULL); +DEFINE_USB_FUNCTION(USB_FUNCTION_DIAG, diag, 1, "diag", NULL); DEFINE_USB_FUNCTION(USB_FUNCTION_CONN_GADGET, conn_gadget, 0, NULL, NULL); DEFINE_USB_FUNCTION(USB_FUNCTION_DM, dm, 0, NULL, NULL); DEFINE_USB_FUNCTION(USB_FUNCTION_RMNET, rmnet, 0, NULL, NULL); |