[PATCH] HID: Add quirk for Primax PIXART OEM mice

2018-11-19 Thread Sebastian Parschauer
The PixArt OEM mice are known for disconnecting every minute in runlevel 1 or 3 if they are not always polled. So add quirk ALWAYS_POLL for two Primax mice as well. 0x4e22 is the Dell MS111-P and 0x4d0f is the unbranded HP Portia mouse HP 697738-001. Both were built until approx. 2014. Those were

RE: [PATCH v2 0/4] usb: chipidea: imx: add HSIC support

2018-11-19 Thread PETER CHEN
> > > > On 23.10.18 08:33, Peter Chen wrote: > >>> As I already posted when I was testing v1 last week, there is a > >>> problem with auto suspend with my LAN9730 chip. I thought it was a > >>> problem with the smsc95xx/usbnet driver, but I'm not so sure > >>> anymore. > >>> > >>> So I'd like to

Re: [PATCH v2] usb: hub: add retry routine after intr URB sumbit error

2018-11-19 Thread Nicolas Saenz Julienne
Hi Oliver, thanks for the reviews :). On Mon, 2018-11-19 at 15:04 +0100, Oliver Neukum wrote: > On Mo, 2018-11-19 at 15:02 +0100, Nicolas Saenz Julienne wrote: > > +static void hub_retry_irq_urb(struct timer_list *t) > > +{ > > + struct usb_hub *hub = from_timer(hub, t, irq_urb_retry); > > +

[PATCH] usb: gadget: u_ether: fix unsafe list iteration

2018-11-19 Thread Marek Szyprowski
list_for_each_entry_safe() is not safe for deleting entries from the list if the spin lock, which protects it, is released and reacquired during the list iteration. Fix this issue by replacing this construction with a simple check if list is empty and removing the first entry in each iteration.

Re: [PATCH 1/2] phy: core: Add phy_pm_runtime_enabled

2018-11-19 Thread kbuild test robot
Hi Tony, I love your patch! Yet something to improve: [auto build test ERROR on phy/next] [also build test ERROR on v4.20-rc3 next-20181119] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tony

Re: EPROTO when USB 3 GbE adapters are under load

2018-11-19 Thread Hao Wei Tee
On 25/10/18 11:37 am, Hao Wei Tee wrote: Hi, There are multiple reports[1][2][3] (more elsewhere on the internet) of USB 3 GbE adapters throwing EPROTO errors on USB transfer especially when the devices are under load. Both of the two common chipsets (Realtek RTL8153 (r8152[4]) and Asix AX88179

Re: [PATCH v2] usb: hub: add retry routine after intr URB sumbit error

2018-11-19 Thread Oliver Neukum
On Mo, 2018-11-19 at 15:02 +0100, Nicolas Saenz Julienne wrote: > > +static void hub_retry_irq_urb(struct timer_list *t) > +{ > + struct usb_hub *hub = from_timer(hub, t, irq_urb_retry); > + int status; > + > + if (hub->disconnected || hub->quiescing) > + return; > + > +

[PATCH v2] usb: hub: add retry routine after intr URB sumbit error

2018-11-19 Thread Nicolas Saenz Julienne
The hub sends hot-plug events to the host trough it's interrupt URB. The driver takes care of completing the URB and re-submitting it. Completion errors are handled in the hub_event() work, yet submission errors are ignored, rendering the device unresponsive. All further events are lost. It is

Re: [PATCH] USB: host: ehci: allow tine of highspeed nak-count

2018-11-19 Thread Ben Dooks
On Fri, Nov 16, 2018 at 10:38:18AM -0500, Alan Stern wrote: > On Fri, 16 Nov 2018, Ben Dooks wrote: > > > On 14/11/18 18:47, Alan Stern wrote: > > > On Wed, 14 Nov 2018, Ben Dooks wrote: > > > > > >> From: Ben Dooks > > >> > > >> At least some systems benefit with less scheduling if the NAK

Re: [PATCH] usbnet: use tasklet_init() for usbnet_bh handler

2018-11-19 Thread Oliver Neukum
On Fr, 2018-11-16 at 15:50 +, Ben Dooks wrote: > The tasklet initialisation would be better done by tasklet_init() > instead of assuming all the fields are in an ok state by default. > > Note, this does not fix any known bug. > > Signed-off-by: Ben Dooks Acked-by: Oliver Neukum

Re: [PATCH] usb: hub: add I/O error retry & reset routine

2018-11-19 Thread Oliver Neukum
On Do, 2018-11-15 at 18:14 +0100, Nicolas Saenz Julienne wrote: Hi, what Alan said, in addition you need to stop the error handling when the device is suspended or reset. > @@ -713,8 +751,10 @@ static void hub_irq(struct urb *urb) > return; > > status =

Re: [PATCH v2 0/4] usb: chipidea: imx: add HSIC support

2018-11-19 Thread Schrempf Frieder
Hi Peter, On 05.11.18 09:52, Frieder Schrempf wrote: > Hi Peter, > > On 23.10.18 08:33, Peter Chen wrote: >>> As I already posted when I was testing v1 last week, there is a >>> problem with auto >>> suspend with my LAN9730 chip. I thought it was a problem with the >>> smsc95xx/usbnet driver,