[PATCH 32/37] usb: host: xhci: switch to running avg trb length

2016-12-29 Thread Felipe Balbi
It's unlikely that we will ever know the avg so instead of assuming it'll be something really large, we will calculate the avg as we go as mentioned in XHCI specification section 4.14.1.1. Signed-off-by: Felipe Balbi --- drivers/usb/host/xhci-mem.c | 34 -- drive

Re: [PATCH 32/37] usb: host: xhci: switch to running avg trb length

2017-01-16 Thread Mathias Nyman
On 29.12.2016 13:01, Felipe Balbi wrote: It's unlikely that we will ever know the avg so instead of assuming it'll be something really large, we will calculate the avg as we go as mentioned in XHCI specification section 4.14.1.1. Signed-off-by: Felipe Balbi --- drivers/usb/host/xhci-mem.c |