[GIT PULL] USB driver fixes for 5.0-rc6

2019-02-08 Thread Greg KH
The following changes since commit f17b5f06cb92ef2250513a1e154c47b78df07d40: Linux 5.0-rc4 (2019-01-27 15:18:05 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.0-rc6 for you to fetch changes up to a07ddce4df807e41a85245e

Re: [PATCH] usb: dwc3: gadget: synchronize_irq dwc irq in suspend

2019-02-08 Thread Marek Szyprowski
Hi All, On 2019-01-30 09:19, Wang, Yu1 wrote: > >> "Wang, Yu1" writes: > so it's better move the synchronize_irq() after the > spin_unlock_irqrestore(). > static int dwc3_suspend_common(struct dwc3 *dwc) > { > unsigned long flags; > > switch (dwc->dr_mode) { >>>

Re: [PATCH 5/8] usb: ohci-da8xx: add vbus and overcurrent gpios

2019-02-08 Thread Sekhar Nori
Hi Bartosz, On 05/02/19 3:55 PM, Bartosz Golaszewski wrote: > +static irqreturn_t ohci_da8xx_oc_handler(int irq, void *data) > +{ > + struct da8xx_ohci_hcd *da8xx_ohci = data; > + > + if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio)) > + gpiod_set_value_cansleep(da8xx_ohci->vb

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-08 Thread Mathias Nyman
On 07.02.2019 17:17, Srinath Mannam wrote: Hi Mathias, Thanks for review, please see my comments below inline. On Thu, Feb 7, 2019 at 8:32 PM Mathias Nyman wrote: On 05.02.2019 08:18, Srinath Mannam wrote: Add a quirk to reset xHCI port PHY on port disconnect event. Stingray USB HS PHY has

Re: [PATCH] usb: dwc3: Enable GBit Ethernet on Odroid XU4

2019-02-08 Thread Marek Szyprowski
Hi Roger, On 2019-02-06 11:17, Roger Quadros wrote: > +Marek > > As Vivek's and Andrzej's Samsung IDs bounced back. > > On 06/02/19 11:38, Jochen Sprickerhof wrote: >> * Roger Quadros [2019-02-06 10:41]: >>> Hi, >>> >>> On 21/01/19 16:02, Jochen Sprickerhof wrote: >> [..] I'm not sure why th

Re: [PATCH] usb: dwc3: Enable GBit Ethernet on Odroid XU4

2019-02-08 Thread Felipe Balbi
Hi, Marek Szyprowski writes: On 21/01/19 16:02, Jochen Sprickerhof wrote: >>> [..] > I'm not sure why this it only works with the driver compiled into the > kernel nor why it needs a hard reset or why it was the line was dropped > when the patch was accepted. Would be great to g

Re: [PATCH 3/8] ARM: davinci: omapl138-hawk: use gpio lookup entries for usb gpios

2019-02-08 Thread Linus Walleij
On Tue, Feb 5, 2019 at 11:25 AM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add lookup entries for the vbus and overcurrent gpios for omapl138-hawk. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 4/8] ARM: davinci: da830-evm: use gpio lookup entries for usb gpios

2019-02-08 Thread Linus Walleij
On Tue, Feb 5, 2019 at 11:25 AM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add lookup entries for vbus and overcurrent gpios for da830-evm. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 4/5] usb: typec: ucsi: Preliminary support for alternate modes

2019-02-08 Thread Heikki Krogerus
Hi Michael, On Thu, Feb 07, 2019 at 10:01:15PM +, Michael Hsu wrote: > Hi Heikki, > > > -Original Message- > > From: Heikki Krogerus > > Sent: Thursday, February 7, 2019 5:16 AM > > To: Michael Hsu > > Cc: Greg Kroah-Hartman ; Ajay Gupta > > ; linux-usb@vger.kernel.org > > Subject:

[PATCH] usb: host: oxu210hp-hcd: fix indentation issue

2019-02-08 Thread Colin King
From: Colin Ian King A statement is indented too deeply, fix this by removing a tab. Signed-off-by: Colin Ian King --- drivers/usb/host/oxu210hp-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index c5e

Re: [PATCH 2/3] udc: net2280: Fix overrun of OUT messages

2019-02-08 Thread guido
Zitat von Alan Stern : On Wed, 6 Feb 2019 gu...@kiener-muenchen.de wrote: Alan, I have inserted a bug detection and can now explain the race: Ween receiving a long transfer the gadget driver queues a new request with net2280_queue() and calls start_dma(). In the meantime the OUT FIFO is st

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-08 Thread Srinath Mannam
Hi Mathias, Thanks for comments, Please find my comments below inline. On Fri, Feb 8, 2019 at 6:00 PM Mathias Nyman wrote: > > On 07.02.2019 17:17, Srinath Mannam wrote: > > Hi Mathias, > > > > Thanks for review, please see my comments below inline. > > > > On Thu, Feb 7, 2019 at 8:32 PM Mathias

[PATCH net-next] net: usb: rtl8150: mark expected switch fall-through

2019-02-08 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva --- drivers/net/usb/r

Re: [PATCH] usb: dwc3: Enable GBit Ethernet on Odroid XU4

2019-02-08 Thread Jochen Sprickerhof
Hi Marek, * Marek Szyprowski [2019-02-08 13:36]: On 21/01/19 16:02, Jochen Sprickerhof wrote: [..] I'm not sure why this it only works with the driver compiled into the kernel nor why it needs a hard reset or why it was the line was dropped when the patch was accepted. Would be great to get s

Re: [GIT PULL] USB driver fixes for 5.0-rc6

2019-02-08 Thread pr-tracker-bot
The pull request you sent on Fri, 8 Feb 2019 09:37:47 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.0-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/00a159a0007b91fbce2a93e2666951c760ce6811 Thank you! -- Deet-doot-dot, I am a b

[PATCH net-next] net: usb: pegasus: Mark expected switch fall-through

2019-02-08 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva --- drivers/net/usb/p

Re: [PATCH net-next] net: usb: pegasus: Mark expected switch fall-through

2019-02-08 Thread David Miller
From: "Gustavo A. R. Silva" Date: Fri, 8 Feb 2019 13:07:29 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > This patch is part of the ongoing efforts to enabling > -W

Re: [PATCH net-next] net: usb: rtl8150: mark expected switch fall-through

2019-02-08 Thread David Miller
From: "Gustavo A. R. Silva" Date: Fri, 8 Feb 2019 13:09:06 -0600 > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > This patch is part of the ongoing efforts to enabling > -W

Re: [CFT][PATCH] signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncio

2019-02-08 Thread Alan Stern
On Thu, 7 Feb 2019, Eric W. Biederman wrote: > The usb support for asyncio encoded one of it's values in the wrong > field. It should have used si_value but instead used si_addr which is > not present in the _rt union member of struct siginfo. > > The result is a POSIX and glibc incompatible enc

Re: [PATCH net-next] net: usb: cdc-phonet: use struct_size() in alloc_netdev()

2019-02-08 Thread David Miller
From: "Gustavo A. R. Silva" Date: Thu, 7 Feb 2019 21:13:13 -0600 > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo