Re: [PATCH v4 02/13] usb: otg-fsm: support multiple instances

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:13PM +0300, Roger Quadros wrote: > Move the state_changed variable into struct otg_fsm > so that we can support multiple instances. > > Signed-off-by: Roger Quadros > --- > drivers/usb/common/usb-otg-fsm.c | 10 -- > include/linux/usb/otg-fsm.h | 1 + >

Re: [PATCH v4 00/13] USB: OTG/DRD Core functionality

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:11PM +0300, Roger Quadros wrote: > Hi, > > This series centralizes OTG/Dual-role functionality in the kernel. > As of now I've got Dual-role functionality working pretty reliably on > dra7-evm and am437x-gp-evm. > > DWC3 controller and platform related patches will b

Re: ftdi_sio: tcdrain() is not waiting for all bytes to transmit

2015-09-06 Thread Johan Hovold
[ Adding linux-usb on CC. ] On Fri, Sep 04, 2015 at 09:25:10AM -0400, Dave Bender wrote: > Hi, > I found your name in the ftdi_sio module and notice you have recent > commit history. > I just spent a few hours wondering why my device was receiving frame > errors and determined with an oscillos

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-06 Thread Roland Weber
Hello Alan, thanks for bearing with me. > I'm not sure what you mean by that. Everything we have been discussing > is in hub.c, not usb.c. Argh. That means I messed up the dynamic debug setting that was supposed to enable the additional log statements. Luckily, I didn't need it anyway, because

Re: [RFC PATCH 1/1] usb: misc: usbtest: add bulk queue test

2015-09-06 Thread Alan Stern
On Sun, 6 Sep 2015, Peter Chen wrote: > On Wed, Sep 02, 2015 at 10:23:39AM -0400, Alan Stern wrote: > > On Wed, 2 Sep 2015, Peter Chen wrote: > > > > > The bulk queue tests are used to show 'best performance' for bulk > > > transfer, we are often asked this question by users. > > > > > > It's re

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-06 Thread Alan Stern
On Sun, 6 Sep 2015, Roland Weber wrote: > Hello Alan, > > thanks for bearing with me. > > > I'm not sure what you mean by that. Everything we have been discussing > > is in hub.c, not usb.c. > > Argh. That means I messed up the dynamic debug setting that was supposed > to enable the additional

Re: [RFC PATCH 1/1] usb: misc: usbtest: add bulk queue test

2015-09-06 Thread Peter Chen
On Sun, Sep 06, 2015 at 02:49:45PM -0400, Alan Stern wrote: > On Sun, 6 Sep 2015, Peter Chen wrote: > > > On Wed, Sep 02, 2015 at 10:23:39AM -0400, Alan Stern wrote: > > > On Wed, 2 Sep 2015, Peter Chen wrote: > > > > > > > The bulk queue tests are used to show 'best performance' for bulk > > > >

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:18PM +0300, Roger Quadros wrote: > + * This is used by the USB Host stack to register the Host controller > + * to the OTG core. Host controller must not be started by the > + * caller as it is left upto the OTG state machine to do so. > + * > + * Returns: 0 on success

Re: [PATCH v4 04/13] otg-fsm: move usb_bus_start_enum into otg-fsm->ops

2015-09-06 Thread Peter Chen
On Mon, Aug 24, 2015 at 04:21:15PM +0300, Roger Quadros wrote: > This is to prevent missing symbol build error if OTG is > enabled (built-in) and HCD core (CONFIG_USB) is module. > > Signed-off-by: Roger Quadros > Acked-by: Peter Chen > --- > drivers/usb/common/usb-otg-fsm.c | 6 -- > drive

Re: [PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-06 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 4 Sep 2015 12:47:28 +0200 > net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: > net/usb/lan78xx.c:1107: warning: comparison is always false due to limited > range of data type > net/usb/lan78xx.c:: warning: comparison is always false due to limited >

[PATCH net 1/2] r8152: split DRIVER_VERSION

2015-09-06 Thread Hayes Wang
Split DRIVER_VERSION into NETNEXT_VERSION and NET_VERSION. Then, according to the value of DRIVER_VERSION, we could know which patches are used generally without comparing the source code. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 9 +++-- 1 file changed, 7 insertions(+), 2 del

[PATCH net 2/2] r8152: fix the runtime suspend issues

2015-09-06 Thread Hayes Wang
Fix the runtime suspend issues result from the linking change. Case 1: a) link down occurs. b) driver disable tx/rx. c) autosuspend occurs. d) hw linking up. e) device suspends without enabling tx/rx. f) couldn't wake up when receiving packets. Case 2: a) Nway results in linking down. b) autosusp

[PATCH net 0/2] fix the autoresume may fail

2015-09-06 Thread Hayes Wang
Fix the autosuspend issues which occur about linking change. Hayes Wang (2): r8152: split DRIVER_VERSION r8152: fix the runtime suspend issues drivers/net/usb/r8152.c | 66 ++--- 1 file changed, 63 insertions(+), 3 deletions(-) -- 2.4.3 -- To un

Re: [PATCH] Revert "usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs"

2015-09-06 Thread Heikki Krogerus
Hi, On Tue, Sep 01, 2015 at 06:37:54PM +0300, Ville Syrjälä wrote: > On Tue, Sep 01, 2015 at 10:17:59AM -0500, Felipe Balbi wrote: > > Hi, > > > > On Tue, Sep 01, 2015 at 05:39:28PM +0300, Ville Syrjälä wrote: > > > On Tue, Sep 01, 2015 at 08:59:02AM -0500, Felipe Balbi wrote: > > > > Hi, > > > >