summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2021-12-06 15:15:48 +0900
committerINSUN PYO <insun.pyo@samsung.com>2021-12-06 15:19:01 +0900
commit5e7ac0009024f529bee10090e7a56efb568d4c69 (patch)
tree75f843a333aca77427b05b3fa03f17593f5cea8b
parentf6015ff0665cb78a7f5a57fee68d45d449f213fa (diff)
downloaddevice-common-5e7ac0009024f529bee10090e7a56efb568d4c69.tar.gz
device-common-5e7ac0009024f529bee10090e7a56efb568d4c69.tar.bz2
device-common-5e7ac0009024f529bee10090e7a56efb568d4c69.zip
gems requires diag mode, which should operate in ffs. Change-Id: I9ee7714c016add5ef42abb0b6fc03f1e0a1266bf
-rw-r--r--src/usb_gadget/usb_gadget_common.c2
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);