All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH v2
@ 2017-02-22 15:34 robert.middleton
  2017-02-22 15:34 ` [PATCH v2] gpio:mcp23s08 Fixed missing interrupts robert.middleton
  2017-03-09 16:37 ` PATCH v2 Robert Middleton
  0 siblings, 2 replies; 10+ messages in thread
From: robert.middleton @ 2017-02-22 15:34 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, gnurou


This v2 patch changes the MCP23S08 interrupt logic to ensure that if multiple
inputs are changed at the same time, the kernel will be notified of all
the pins that changed.

I added several variables to the irq handler, however this means that there
are now quite a few local variables(possibly too many, as the kernel coding 
standard says that more than 5-10 is probably too many: 
https://www.kernel.org/doc/Documentation/process/coding-style.rst).  I'm 
not sure what the best way to fix this is, or if it has to be fixed.

-Robert Middleton

^ permalink raw reply	[flat|nested] 10+ messages in thread
* PATCH v2
@ 2021-06-19 15:35 Linyu Yuan
  0 siblings, 0 replies; 10+ messages in thread
From: Linyu Yuan @ 2021-06-19 15:35 UTC (permalink / raw)
  To: Felipe Balbi, Thinh Nguyen, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Jack Pham

Subject: [PATCH v2 0/2] usb: udc: indroduce more api for lower gadget driver

introdue following udc apis which will forbid lower gadget driver
operate upper layer usb gadget driver directly.

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.

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(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-06-19 15:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 15:34 PATCH v2 robert.middleton
2017-02-22 15:34 ` [PATCH v2] gpio:mcp23s08 Fixed missing interrupts robert.middleton
2017-03-14 13:19   ` Linus Walleij
2017-03-14 17:41     ` Robert Middleton
2017-03-14 21:16       ` Linus Walleij
2017-03-15  1:56         ` Robert Middleton
2017-03-15 21:01           ` Robert Middleton
2017-03-09 16:37 ` PATCH v2 Robert Middleton
2017-03-10  0:04   ` Phil Reid
2021-06-19 15:35 Linyu Yuan

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.