[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210619154309.52127-1-linyyuan@codeaurora.org>
Date: Sat, 19 Jun 2021 23:43:07 +0800
From: Linyu Yuan <linyyuan@...eaurora.org>
To: Felipe Balbi <balbi@...nel.org>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Jack Pham <jackp@...eaurora.org>
Subject: [PATCH v3 0/2] usb: udc: indroduce more api for lower gadget driver
void usb_gadget_udc_disconnect(struct usb_gadget *);
void usb_gadget_udc_suspend(struct usb_gadget *);
void usb_gadget_udc_resume(struct usb_gadget *);
int usb_gadget_udc_setup(struct usb_gadget *,
const struct usb_ctrlrequest *);
dwc3 is first driver to use these apis.
v3: fix mail format
v3: fix mail format
Linyu Yuan (2):
usb: udc: core: hide struct usb_gadget_driver to gadget driver
usb: dwc3: fix race of usb_gadget_driver operation
drivers/usb/dwc3/core.h | 2 --
drivers/usb/dwc3/ep0.c | 6 +---
drivers/usb/dwc3/gadget.c | 53 +++++++++--------------------------
drivers/usb/gadget/udc/core.c | 47 ++++++++++++++++++++++++++++++-
include/linux/usb/gadget.h | 6 ++++
5 files changed, 66 insertions(+), 48 deletions(-)
--
2.25.1
Powered by blists - more mailing lists