[PATCH 4/5] Input: xpad: workaround dead irq_out after suspend/ resume

2015-11-01 Thread Pavel Rojtberg
From: Pavel Rojtberg the irq_out urb is dead after suspend/ resume on my x360 wr pad. (also reproduced by Zachary Lund [0]) Work around this by resetting the usb device on resume. Added suspend/ resume callbacks to do so. [0]: https://github.com/paroj/xpad/issues/6 Signed-off-by: Pavel Rojtberg

Re: [PATCH 4/5] Input: xpad: workaround dead irq_out after suspend/ resume

2015-12-09 Thread Dmitry Torokhov
On Sun, Nov 01, 2015 at 04:31:38PM +0100, Pavel Rojtberg wrote: > From: Pavel Rojtberg > > the irq_out urb is dead after suspend/ resume on my x360 wr pad. (also > reproduced by Zachary Lund [0]) Work around this by resetting the usb > device on resume. Added suspend/ resume callbacks to do so. >

Re: [PATCH 4/5] Input: xpad: workaround dead irq_out after suspend/ resume

2015-12-16 Thread Dmitry Torokhov
On Wed, Dec 09, 2015 at 10:41:31PM -0800, Dmitry Torokhov wrote: > On Sun, Nov 01, 2015 at 04:31:38PM +0100, Pavel Rojtberg wrote: > > From: Pavel Rojtberg ... > > + > > +static int xpad_resume(struct usb_interface *intf) > > +{ > > + usb_queue_reset_device(intf); > > Why do we have to force re