[PATCH] input: xpad - add queue for interrupt out transfers

2014-03-22 Thread Felix Rueegg
at the same time as a force feedback command, since they use the same urb. This patch fixes the issue by adding a buffer to queue all interrupt out transfers (similar to the implementation in the iforce driver). Signed-off-by: Felix Rueegg --- drivers/input/joystick/xpad.c | 212

[PATCH] input: xpad - add queue for interrupt out transfers

2014-03-22 Thread Felix Rueegg
at the same time as a force feedback command, since they use the same urb. This patch fixes the issue by adding a buffer to queue all interrupt out transfers (similar to the implementation in the iforce driver). Signed-off-by: Felix Rueegg felix.rue...@gmail.com --- drivers/input/joystick/xpad.c | 212

Re: [PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-06 Thread Felix Rueegg
Hi Dmitry, On 03/04/2014 06:07 PM, Dmitry Torokhov wrote: Hi Felix, On Sun, Mar 02, 2014 at 12:35:43PM +0100, Felix Rueegg wrote: When an effect with zero replay length, zero replay delay and zero envelope attack length is uploaded, it is played and then scheduled to play again one timer

Re: [PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-06 Thread Felix Rueegg
Hi Dmitry, On 03/04/2014 06:07 PM, Dmitry Torokhov wrote: Hi Felix, On Sun, Mar 02, 2014 at 12:35:43PM +0100, Felix Rueegg wrote: When an effect with zero replay length, zero replay delay and zero envelope attack length is uploaded, it is played and then scheduled to play again one timer

[PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Felix Rueegg
of this effect fixes the issue. Signed-off-by: Felix Rueegg --- drivers/input/ff-memless.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c index 74c0d8c..2e06948 100644 --- a/drivers/input/ff-memless.c +++ b/drivers/input

[PATCH] input: ff-memless: don't schedule already playing effect to play again

2014-03-02 Thread Felix Rueegg
of this effect fixes the issue. Signed-off-by: Felix Rueegg felix.rue...@gmail.com --- drivers/input/ff-memless.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c index 74c0d8c..2e06948 100644 --- a/drivers/input/ff-memless.c

[PATCH] HID: remove self-assignment from hid_input_report

2013-10-08 Thread Felix Rueegg
The ternary expression will always result in a self-assignment, which is pointless. Signed-off-by: Felix Rueegg --- drivers/hid/hid-core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5a8c011..ae0c963 100644

[PATCH] HID: remove self-assignment from hid_input_report

2013-10-08 Thread Felix Rueegg
The ternary expression will always result in a self-assignment, which is pointless. Signed-off-by: Felix Rueegg felix.rue...@gmail.com --- drivers/hid/hid-core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5a8c011