diff for duplicates of <1556832986.22007.15.camel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index fa82913..6fe94b0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -30,6 +30,7 @@ better, as it uses the U1DevExitLat and U2DevExitLat instead. I just added my solution to the bottem of the mail for reference. [1] https://www.spinics.net/lists/linux-usb/msg179393.html + --- From 798ea2f5f365ecdf2dbcf436a2a0302e208c6c73 Mon Sep 17 00:00:00 2001 @@ -54,19 +55,6 @@ Signed-off-by: Claus H. Stovgaard <cst@phaseone.com> include/linux/usb/gadget.h | 6 ++++- 3 files changed, 69 insertions(+), 2 deletions(-) - * - * Devices are disabled till a gadget driver successfully bind()s, -which - * means the driver will handle setup() requests needed to enumerate -(and -@@ -684,6 +686,8 @@ struct usb_gadget_driver { - char *udc_name; - struct list_head pending; - unsigned match_existing_only:1; -+ unsigned lpm_U1_disable:1; -+ unsigned lpm_U2_disable:1; - }; - diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 8efde17..5b2d26b 100644 --- a/drivers/usb/dwc3/ep0.c @@ -218,3 +206,19 @@ don't add this + * gadget driver to list of pending driver. + * @lpm_U1_disable: Instruct the UDC to disable U1 if possible. + * @lpm_U2_disable: Instruct the UDC to disable U2 if possible. + * + * Devices are disabled till a gadget driver successfully bind()s, +which + * means the driver will handle setup() requests needed to enumerate +(and +@@ -684,6 +686,8 @@ struct usb_gadget_driver { + char *udc_name; + struct list_head pending; + unsigned match_existing_only:1; ++ unsigned lpm_U1_disable:1; ++ unsigned lpm_U2_disable:1; + }; + + +-- +2.7.4 diff --git a/a/content_digest b/N1/content_digest index ef7b0af..010cd9d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,5 +1,6 @@ + "ref\01556792423-4833-1-git-send-email-anurag.kumar.vulisha@xilinx.com\0" "From\0claus.stovgaard@gmail.com\0" - "Subject\0[0/3] usb: gadget: Add support for disabling U1 and U2 entries\0" + "Subject\0Re: [PATCH 0/3] usb: gadget: Add support for disabling U1 and U2 entries\0" "Date\0Thu, 02 May 2019 23:36:26 +0200\0" "To\0Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>" Greg Kroah-Hartman <gregkh@linuxfoundation.org> @@ -43,6 +44,7 @@ "added my solution to the bottem of the mail for reference.\n" "\n" "[1] https://www.spinics.net/lists/linux-usb/msg179393.html\n" + "\n" "---\n" "\n" "From 798ea2f5f365ecdf2dbcf436a2a0302e208c6c73 Mon Sep 17 00:00:00 2001\n" @@ -67,19 +69,6 @@ " include/linux/usb/gadget.h | 6 ++++-\n" " 3 files changed, 69 insertions(+), 2 deletions(-)\n" "\n" - " *\n" - " * Devices are disabled till a gadget driver successfully bind()s,\n" - "which\n" - " * means the driver will handle setup() requests needed to enumerate\n" - "(and\n" - "@@ -684,6 +686,8 @@ struct usb_gadget_driver {\n" - " \tchar\t\t\t*udc_name;\n" - " \tstruct list_head\tpending;\n" - " \tunsigned match_existing_only:1;\n" - "+\tunsigned\t\tlpm_U1_disable:1;\n" - "+\tunsigned\t\tlpm_U2_disable:1;\n" - " };\n" - "\n" "diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c\n" "index 8efde17..5b2d26b 100644\n" "--- a/drivers/usb/dwc3/ep0.c\n" @@ -230,6 +219,22 @@ "- * gadget driver to list of pending driver\n" "+ * gadget driver to list of pending driver.\n" "+ * @lpm_U1_disable: Instruct the UDC to disable U1 if possible.\n" - + * @lpm_U2_disable: Instruct the UDC to disable U2 if possible. + "+ * @lpm_U2_disable: Instruct the UDC to disable U2 if possible.\n" + " *\n" + " * Devices are disabled till a gadget driver successfully bind()s,\n" + "which\n" + " * means the driver will handle setup() requests needed to enumerate\n" + "(and\n" + "@@ -684,6 +686,8 @@ struct usb_gadget_driver {\n" + " \tchar\t\t\t*udc_name;\n" + " \tstruct list_head\tpending;\n" + " \tunsigned match_existing_only:1;\n" + "+\tunsigned\t\tlpm_U1_disable:1;\n" + "+\tunsigned\t\tlpm_U2_disable:1;\n" + " };\n" + " \n" + " \n" + "-- \n" + 2.7.4 -62b31e5dd75fc350a1e9b0f5bdddc8a7cf64d45f700d9a3dd5c2eaeb588ea5dc +274d97d3860d856ca39a1d6723ee12d80e29e3e111559d134aab9fb4d4e2649c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.