[PATCH v4 22/24] hid: Port hid-lg2ff to ff-memless-next

2014-04-26 Thread Michal Malý
- Port hid-lg2ff to ff-memless-next - Clamp vibration magnitude to range <0x02; 0xfd> to prevent irregular shaking of the vibration motors. Signed-off-by: Elias Vanderstuyft --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65 ++--- 2 f

[PATCH v4 23/24] hid: Port hid-lg4ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg4ff to ff-memless-next Signed-off-by: Michal Malý Tested-by: Tested-by: Elias Vanderstuyft --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 93 ++--- 2 files changed, 59 insertions(+), 36 deletions(-) diff --git a/drivers/hid

[PATCH v4 02/24] input: Port arizona-haptics to ff-memless-next

2014-04-26 Thread Michal Malý
Port arizona-haptics to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/arizona-haptics.c | 39 +++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drive

[PATCH v4 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
Add ff-memless-next module Signed-off-by: Michal Malý Tested-by: Elias Vanderstuyft --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1037 + include/linux/input/ff-memless-

[PATCH v4 03/24] input: Port twl4030-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl4030-vibra to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/mis

[PATCH v4 04/24] input: Port twl6040-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl6040-vibra to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl6040-vibra.c | 27 ++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kc

[PATCH v4 24/24] input: Replace ff-memless with ff-memless-next

2014-04-26 Thread Michal Malý
Replace ff-memless with ff-memless-next ff-memless-next is a module for handling force feedback devices that have no FFB effect memory of their own. It is based on the ff-memless module but it has been largerly extended. Notable changes include: - Support for all force feedback effects currently d

[PATCH v4 05/24] input: Port max8997_haptic to ff-memless-next

2014-04-26 Thread Michal Malý
Port max8997_haptic to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/max8997_haptic.c | 25 +++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/K

[PATCH v4 12/24] hid: Port hid-lgff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lgff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1749a4a

[PATCH v4 08/24] hid: Port hid-emsff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-emsff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-emsff.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e076627..a78b5d8

[PATCH v4 06/24] input: Port pm8xxx-vibrator to ff-memless-next

2014-04-26 Thread Michal Malý
Port pm8xxx-vibrator to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input

[PATCH v4 14/24] hid: Port hid-pl to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-pl to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-pl.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index eb0c7f1..42904e4 100644 -

[PATCH v4 10/24] hid: Port hid-gaff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-gaff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-gaff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1d4180c..4c59a88 100644 -

[PATCH v4 11/24] hid: Port hid-holtekff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-holtekff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index

[PATCH v4 13/24] hid: Port hid-lg3ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg3ff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index c4b0c

[PATCH v4 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sony to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sony.c | 23 +-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 9260d14..e97c382 100644 --- a/drive

[PATCH v4 20/24] input: Port gamecon to ff-memless-next

2014-04-26 Thread Michal Malý
Port gamecon to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/drivers/input/joystick/Kconfig b/drivers/input

[PATCH v4 21/24] input: Port xpad to ff-memless-next

2014-04-26 Thread Michal Malý
Port xpad to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joy

[PATCH v4 15/24] hid: Port hid-sjoy to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sjoy to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sjoy.c | 35 +-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 42904e4..9260d14 10064

[PATCH v4 19/24] hid: Port hid-zpff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-zpff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-zpff.c | 30 ++ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 23d9776..97d2d8f 100644 ---

[PATCH v4 17/24] hid: Port hid-tmff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-tmff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e97c382

[PATCH v4 18/24] hid: Port hid-wiimote-modules to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-wiimote-modules to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid

Re: [PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
On Saturday 26 of April 2014 15:09:44 Antonio Ospite wrote: > On Sat, 26 Apr 2014 13:57:53 +0200 > > Michal Malý wrote: > > Port hid-sony to ff-memless-next > > > > Signed-off-by: Michal Malý > > Not a big deal, but note that the patch adds an unneeded > blank line. Pointed out below. Oh, tha

Re: [PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
On Saturday 26 of April 2014 15:07:01 Antonio Ospite wrote: > On Sat, 26 Apr 2014 13:57:38 +0200 > > Michal Malý wrote: > > Add ff-memless-next module > > Hi Michal, what about adding the notes from 0/24 to this commit > message? This is the one which will actually get into the project > history

[PATCH v4 09/24] hid: Port hid-dr to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-dr to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index a78b5d8..1d

[PATCH v4 07/24] hid: Port hid-axff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-axff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-axff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 7af9d0b..e076627 100644 -

[PATCH v4 00/24] input: Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-26 Thread Michal Malý
ff-memless-next (MLNX) is a largely improved version of the current ff-memless (FFML) driver. MLNX supports all force feedback effects currently available in the Linux force feedback userspace API. All effects are handled in accordance with Microsoft's DirectInput/XInput. Most notable changes inclu

Re: [PATCH v3 23/24] hid: Port hid-lg4ff to ff-memless-next

2014-04-26 Thread Elias Vanderstuyft
On Sat, Apr 26, 2014 at 1:58 PM, Michal Malý wrote: > Port hid-lg4ff to ff-memless-next > > Signed-off-by: Michal Malý > --- > drivers/hid/Kconfig | 2 +- > drivers/hid/hid-lg4ff.c | 93 > ++--- > 2 files changed, 59 insertions(+), 36 deletions(-

Re: [PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Antonio Ospite
On Sat, 26 Apr 2014 13:57:53 +0200 Michal Malý wrote: > Port hid-sony to ff-memless-next > > Signed-off-by: Michal Malý Not a big deal, but note that the patch adds an unneeded blank line. Pointed out below. > --- > drivers/hid/Kconfig| 2 +- > drivers/hid/hid-sony.c | 24 ++

Re: [PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Antonio Ospite
On Sat, 26 Apr 2014 13:57:38 +0200 Michal Malý wrote: > Add ff-memless-next module > Hi Michal, what about adding the notes from 0/24 to this commit message? This is the one which will actually get into the project history. And perhaps hint briefly about the improvements also in the commit messa

[PATCH v3 03/24] input: Port twl4030-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl4030-vibra to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/mis

[PATCH v3 02/24] input: Port arizona-haptics to ff-memless-next

2014-04-26 Thread Michal Malý
Port arizona-haptics to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/arizona-haptics.c | 39 +++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drive

[PATCH v4 04/24] input: Port twl6040-vibra to ff-memless-next

2014-04-26 Thread Michal Malý
Port twl6040-vibra to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl6040-vibra.c | 27 ++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kc

[PATCH v3 05/24] input: Port max8997_haptic to ff-memless-next

2014-04-26 Thread Michal Malý
Port max8997_haptic to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/max8997_haptic.c | 25 +++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/K

[PATCH v3 07/24] hid: Port hid-axff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-axff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-axff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 7af9d0b..e076627 100644 -

[PATCH v3 06/24] input: Port pm8xxx-vibrator to ff-memless-next

2014-04-26 Thread Michal Malý
Port pm8xxx-vibrator to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input

[PATCH v3 08/24] hid: Port hid-emsff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-emsff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-emsff.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e076627..a78b5d8

[PATCH v3 09/24] hid: Port hid-dr to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-dr to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index a78b5d8..1d

[PATCH v3 12/24] hid: Port hid-lgff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lgff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1749a4a

[PATCH v3 11/24] hid: Port hid-holtekff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-holtekff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index

[PATCH v3 13/24] hid: Port hid-lg3ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg3ff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index c4b0c

[PATCH v3 16/24] hid: Port hid-sony to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sony to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sony.c | 24 ++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 9260d14..e97c382 100644 --- a/driv

[PATCH v3 14/24] hid: Port hid-pl to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-pl to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-pl.c | 38 ++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index eb0c7f1..42904e4 100644 -

[PATCH v3 15/24] hid: Port hid-sjoy to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-sjoy to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-sjoy.c | 35 +-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 42904e4..9260d14 10064

[PATCH v3 17/24] hid: Port hid-tmff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-tmff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e97c382

[PATCH v3 18/24] hid: Port hid-wiimote-modules to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-wiimote-modules to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid

[PATCH v3 20/24] input: Port gamecon to ff-memless-next

2014-04-26 Thread Michal Malý
Port gamecon to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/drivers/input/joystick/Kconfig b/drivers/input

[PATCH v3 19/24] hid: Port hid-zpff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-zpff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-zpff.c | 30 ++ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 23d9776..97d2d8f 100644 ---

[PATCH v3 23/24] hid: Port hid-lg4ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg4ff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 93 ++--- 2 files changed, 59 insertions(+), 36 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 5e705

[PATCH v3 22/24] hid: Port hid-lg2ff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-lg2ff to ff-memless-next. Clamp vibration magnitude to range <0x02; 0xfd> to prevent irregular shaking of the vibration motors. Signed-off-by: Elias Vanderstuyft --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65 ++--- 2 files

[PATCH v3 21/24] input: Port xpad to ff-memless-next

2014-04-26 Thread Michal Malý
Port xpad to ff-memless-next Signed-off-by: Michal Malý --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joy

[PATCH v3 24/24] input: Replace ff-memless with ff-memless-next

2014-04-26 Thread Michal Malý
Replace ff-memless with ff-memless-next Signed-off-by: Michal Malý --- drivers/input/Kconfig | 13 +- drivers/input/Makefile | 1 - drivers/input/ff-memless.c | 547 - include/linux/input.h | 3 - 4 files changed, 1 insertion(+), 563

[PATCH v3 10/24] hid: Port hid-gaff to ff-memless-next

2014-04-26 Thread Michal Malý
Port hid-gaff to ff-memless-next Signed-off-by: Michal Malý --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-gaff.c | 32 +++- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1d4180c..4c59a88 100644 -

[PATCH v3 01/24] input: Add ff-memless-next module

2014-04-26 Thread Michal Malý
Add ff-memless-next module Signed-off-by: Michal Malý Tested-by: Elias Vanderstuyft --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1037 + include/linux/input/ff-memless-

[PATCH v3 00/24] input: Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-26 Thread Michal Malý
ff-memless-next (MLNX) is a largely improved version of the current ff-memless (FFML) driver. MLNX supports all force feedback effects currently available in the Linux force feedback userspace API. All effects are handled in accordance with Microsoft's DirectInput/XInput. Most notable changes inclu