Re: [RFC 2/9] mfd: Add driver for Multifunction USB Device

2020-02-29 Thread Alan Stern
On Sat, 29 Feb 2020, Noralf Trønnes wrote: > >> +static void mud_irq_urb_completion(struct urb *urb) > >> +{ > >> + struct device *dev = >dev->dev; > >> + int ret; > >> + > >> + mdebug("%s: actual_length=%u\n", __func__, urb->actual_length); > >> + > >> + switch (urb->status) { > >> + case

Re: [RFC 2/9] mfd: Add driver for Multifunction USB Device

2020-02-29 Thread Noralf Trønnes
Den 27.02.2020 10.09, skrev Lee Jones: > I'd really like someone from USB to have a look through this too. > > I'll do a quick first pass and provide some general comments though. > > On Sun, 16 Feb 2020, Noralf Trønnes wrote: >> A Multifunction USB Device is a device that supports functions

Re: [RFC 2/9] mfd: Add driver for Multifunction USB Device

2020-02-27 Thread Lee Jones
I'd really like someone from USB to have a look through this too. I'll do a quick first pass and provide some general comments though. On Sun, 16 Feb 2020, Noralf Trønnes wrote: > A Multifunction USB Device is a device that supports functions like gpio > and display or any other function that

[RFC 2/9] mfd: Add driver for Multifunction USB Device

2020-02-16 Thread Noralf Trønnes
A Multifunction USB Device is a device that supports functions like gpio and display or any other function that can be represented as a USB regmap. Interrupts over USB is also supported if such an endpoint is present. Signed-off-by: Noralf Trønnes --- drivers/mfd/Kconfig | 8 +