Re: [PATCH 2/3] usb: typec: fusb302: Implement start_srp_connection_detect

2019-04-14 Thread Sergei Shtylyov
Hello! On 13.04.2019 23:39, Hans de Goede wrote: When in single role port mode, we most start single-role toggling to Must, perhaps? get an interrupt when a device / cable gets plugged into the port. This commit implements the tcpc_dev start_srp_connection_detect callback for this. Sig

[PATCH] usb: usbip: fix isoc packet num validation in get_pipe

2019-04-14 Thread Malte Leip
Change the validation of number_of_packets in get_pipe to compare the number of packets to a fixed maximum number of packets allowed, set to be 1024. This number was chosen due to it being used by other drivers as well, for example drivers/usb/host/uhci-q.c Background/reason: The get_pipe function

Re: lan78xx: About 8000 usb interrupts per second when idle

2019-04-14 Thread Lukas Wunner
On Tue, Apr 09, 2019 at 09:28:16AM +, Minas Harutyunyan wrote: > Am 09.04.19 um 08:54 schrieb Jisheng Zhang: > > The second one: 8000 usb interrupts per second when idle. > > This is abnormal. any idea? Is it due to the lan78xx? > > dwc2 in host mode enable SOF interrupts if any periodic EP ar

Re: lan78xx: About 8000 usb interrupts per second when idle

2019-04-14 Thread Paul Zimmerman
Lukas Wunner wrote: > On Tue, Apr 09, 2019 at 09:28:16AM +, Minas Harutyunyan wrote: >> Am 09.04.19 um 08:54 schrieb Jisheng Zhang: >>> The second one: 8000 usb interrupts per second when idle. >>> This is abnormal. any idea? Is it due to the lan78xx? >> >> dwc2 in host mode enable SOF interrup

RE: lan78xx: About 8000 usb interrupts per second when idle

2019-04-14 Thread Woojung.Huh
Hi Lukas & Minas, > On Tue, Apr 09, 2019 at 09:28:16AM +, Minas Harutyunyan wrote: > > Am 09.04.19 um 08:54 schrieb Jisheng Zhang: > > > The second one: 8000 usb interrupts per second when idle. > > > This is abnormal. any idea? Is it due to the lan78xx? > > > > dwc2 in host mode enable SOF in