[PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Michal Malý
Introduce ff-memless-next module as a possible future replacement of ff-memless. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- v2: Handle upload and removal of uncombinable effects correctly Remove redundant information from

[PATCH v2 2/4] Port hid-lg4ff to ff-memless-next

2014-02-23 Thread Michal Malý
Port hid-lg4ff to ff-memless-next Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- v2: Differentiate between set force to zero and stop force completely drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 86

[PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

2014-02-23 Thread Michal Malý
to ff-memless-next. The immediate benefit of this is support of all periodic effects and ramp effect. v2 addresses a few issues that have not been noticed at the time v1 was submitted. Specific fixes are mentioned in the respective patches. Michal M. Michal Malý (4): INPUT: Add ff-memless-next

[PATCH v2 3/4] hid-lg4ff: Add support for periodic effects

2014-02-23 Thread Michal Malý
hid-lg4ff: Add support for periodic effects Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- drivers/hid/hid-lg4ff.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index 95d2a9f

[PATCH v2 4/4] hid-lg4ff: Add support for ramp effect

2014-02-23 Thread Michal Malý
hid-lg4ff: Add support for ramp effect Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- drivers/hid/hid-lg4ff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index d7d8d83..e5c90bb

Re: [PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

2014-02-23 Thread Michal Malý
On Monday 24 of February 2014 02:32:27 Anssi Hannula wrote: 24.02.2014 01:24, Michal Malý kirjoitti: Hi everybody, Hi, this patch series is a result of my work to improve FFB support for memoryless devices. ff-memless-next is an improvement over the currently available ff-memless

Re: [PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Michal Malý
On Monday 24 of February 2014 02:32:29 Anssi Hannula wrote: 24.02.2014 01:29, Michal Malý kirjoitti: Introduce ff-memless-next module as a possible future replacement of ff-memless. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz

Re: [PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Michal Malý
I forgot to comment on this: Stopped effects should still be able to be updated. Fair enough. I could not find a definitive answer to what is expected behavior in this case. As far as I can tell, there are following cases: - Effects with no duration and delay: they shall be updated right away. -

Re: [PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Michal Malý
On Monday 24 of February 2014 04:11:04 Anssi Hannula wrote: 24.02.2014 03:54, Michal Malý kirjoitti: I forgot to comment on this: Stopped effects should still be able to be updated. Fair enough. I could not find a definitive answer to what is expected behavior in this case. As far as I

Re: [PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

2014-02-24 Thread Michal Malý
On Monday 24 of February 2014 13:48:18 Dmitry Torokhov wrote: On Mon, Feb 24, 2014 at 10:17:25PM +0100, Elias Vanderstuyft wrote: On Mon, Feb 24, 2014 at 1:58 AM, Michal Malý madcatxs...@prifuk.cz wrote: On Monday 24 of February 2014 02:32:27 Anssi Hannula wrote: I think we should extend

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

2014-03-02 Thread Michal Malý
On Sunday 02 of March 2014 14:17:58 you wrote: On Sun, Mar 2, 2014 at 12:35 PM, Felix Rueegg felix.rue...@gmail.com 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 tick

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

2014-05-20 Thread Michal Malý
On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote: On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote: Hi Dmitry, thank you for reviewing this. On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote: On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote

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

2014-05-20 Thread Michal Malý
On Tuesday 20 of May 2014 11:32:14 Roland Bosa wrote: On 05/20/2014 02:27 AM, Michal Malý wrote: On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote: On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote: Hi Dmitry, thank you for reviewing this. On Tuesday 13 of May

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

2014-05-20 Thread Michal Malý
On Tuesday 20 of May 2014 16:16:12 si...@mungewell.org wrote: To bring this to a conclusion we could go from, would this be an acceptable solution? - Have the HW-specific driver talk directly to ff-core and reimplement upload(), play(), etc. - Rewrite ff-memless-next so that it is

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

2014-05-20 Thread Michal Malý
On Tuesday 20 of May 2014 19:45:44 si...@mungewell.org wrote: Regarding the question of emulated vs. real effects, can we extend the API so that applications can know which effects are really supported, and enable/disable emulation somehow? I suppose that a few extra flags

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

2014-05-20 Thread Michal Malý
On Tuesday 20 of May 2014 18:17:51 Roland Bosa wrote: The file format of an IFR is probably easily deducible. There's a lot of textual clues to parameters and the values are also written out in string form. I don't have a FEdit file at hand, but I suppose it will be similar. I believe

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

2014-05-12 Thread Michal Malý
On Monday 12 of May 2014 11:14:42 Jiri Kosina wrote: On Sat, 26 Apr 2014, Michal Malý wrote: 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

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

2014-05-14 Thread Michal Malý
Hi Dmitry, thank you for reviewing this. On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote: On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote: + +/** DEFINITION OF TERMS + * + * Combined effect - An effect whose force is a superposition of forces

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

2014-05-14 Thread Michal Malý
On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote: On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote: Hi Dmitry, thank you for reviewing this. On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote: On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote

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

2014-05-14 Thread Michal Malý
On Wednesday 14 of May 2014 11:14:02 Dmitry Torokhov wrote: On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote: + +/** input_ff_create_mlnx() - Register a device within ff-memless-next and + * the kernel force feedback system + * @dev: Pointer

[RFC] Add ff-memless-next driver

2013-12-14 Thread Michal Malý
Vanderstuyft (CC'd) for his extensive testing of the driver and numerous helpful suggestions. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 12c7feb547ff16d91f6d04986862eaf5f266ddeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD

[RFC] Add ff-memless-next driver

2013-12-14 Thread Michal Malý
Vanderstuyft (CC'd) for his extensive testing of the driver and numerous helpful suggestions. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 12c7feb547ff16d91f6d04986862eaf5f266ddeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD

Re: [RFC] Add ff-memless-next driver

2013-12-15 Thread Michal Malý
On Saturday 14 of December 2013 18:04:02 Joe Perches wrote: On Sun, 2013-12-15 at 01:19 +0100, Michal Malý wrote: diff --git a/drivers/input/ff-memless-next.c b/drivers/input/ff-memless-next.c [] +static inline s32 mlnx_clamp_level(const s32 level) +{ + return (level 0x7fff

[PATCH] Add ff-memless-next module

2013-12-26 Thread Michal Malý
-next a gradual process. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 491e246b634d6d8ffcaecdaebace5e38efc1cbd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= madcatxs...@prifuk.cz Date: Thu, 26 Dec 2013 15:16:23 +0100

[PATCH v2] Add ff-memless-next module

2013-12-26 Thread Michal Malý
This patch adds ff-memless-next module. Changelog: v2 - Remove unnecessary else branches Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 351553a9951fe424b330a26256958b986c4de880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3

[PATCH v3] Add ff-memless-next module

2013-12-27 Thread Michal Malý
Introduce ff-memless-next module as a possible future replacement for ff-memless. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- Documentation/input/ff-memless-next.txt | 149 ++ drivers/input/Kconfig | 12 + drivers

[PATCH v4] Add ff-memless-next module

2013-12-31 Thread Michal Malý
Introduce ff-memless-next module as a possible future replacement for ff-memless. Cc: linux-in...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Landley r...@landley.net Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- v4: Fix

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

2014-04-09 Thread Michal Malý
Port twl6040-vibra to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

2014-04-09 Thread Michal Malý
Port max8997_haptic to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

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

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

2014-04-09 Thread Michal Malý
Port hid-axff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

2014-04-09 Thread Michal Malý
Port hid-emsff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

[PATCH 0/24] Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-09 Thread Michal Malý
-specific drivers to MLNX's API [2-23] 3) Removes FFML and replaces it with MLNX [24] Michal Malý -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

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

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

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

2014-04-09 Thread Michal Malý
Add ff-memless-next module Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Tested-by: Elias Vanderstuyft elias@gmail.com --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1036

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

2014-04-09 Thread Michal Malý
Port hid-dr to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig b

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

2014-04-09 Thread Michal Malý
Port hid-gaff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

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

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

2014-04-09 Thread Michal Malý
Port hid-lgff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 63 ++ 2 files changed, 44 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b

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

2014-04-09 Thread Michal Malý
Port hid-lg3ff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 56 +++-- 2 files changed, 37 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b

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

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

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

2014-04-09 Thread Michal Malý
Port hid-pl to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

2014-04-09 Thread Michal Malý
Port hid-sjoy to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

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

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

2014-04-09 Thread Michal Malý
Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

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

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

2014-04-09 Thread Michal Malý
Port hid-zpff to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- 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

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

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

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

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

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

2014-04-09 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 elias@gmail.com --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65

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

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

[PATCH 24/24] Replace ff-memless with ff-memless-next

2014-04-09 Thread Michal Malý
Replace ff-memless with ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net --- drivers/input/Kconfig | 13 +- drivers/input/Makefile | 1 - drivers/input/ff-memless.c | 547 - include/linux/input.h | 3 - 4

Re: [PATCH v2 09/24] input: Port hid-dr to ff-memless-next

2014-04-24 Thread Michal Malý
On Wednesday 23 of April 2014 15:41:03 Oliver Neukum wrote: On Tue, 2014-04-22 at 15:59 +0200, Michal Malý wrote: static int drff_play(struct input_dev *dev, void *data, -struct ff_effect *effect) + const struct mlnx_effect_command

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

2014-04-26 Thread Michal Malý
-specific drivers to MLNX's API [2-23] 3) Removes FFML and replaces it with MLNX [24] Signed-off-by: Michal Malý madcatxster@xx v3: - Rebase against latest linux-next. Fixes conflict in hid-sony.c and max8997_haptic.c - Updated documentation in ff-memless-next.h. The documentation now

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/input/Kconfig | 13 +- drivers/input/Makefile | 1 - drivers/input/ff-memless.c | 547 - include/linux/input.h | 3 - 4

[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ý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/input

[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 elias@gmail.com --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg2ff.c | 65

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 93 ++--- 2 files changed, 59 insertions(+), 36 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/drivers/input

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/hid

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net Tested-by: Elias Vanderstuyft elias@gmail.com --- drivers/input/Kconfig | 11 + drivers/input/Makefile|1 + drivers/input/ff-memless-next.c | 1037

[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ý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/input

[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ý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/arizona-haptics.c | 39 +++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git

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

2014-04-26 Thread Michal Malý
-specific drivers to MLNX's API [2-23] 3) Removes FFML and replaces it with MLNX [24] Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net v4: - Add a summary of changes between MLNX and FFML to the last patch - Remove a stale empty line in hid-sony.c - Add Tested-by: Elias Vanderstuyft elias

[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ý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/xpad.c | 125 +++-- 2 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/input

[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ý madcatxs...@devoid-pointer.net --- drivers/input/joystick/Kconfig | 2 +- drivers/input/joystick/gamecon.c | 57 ++-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/drivers/input

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ý madcatxs...@devoid-pointer.net 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

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ý madcatxs...@devoid-pointer.net wrote: Port hid-sony to ff-memless-next Signed-off-by: Michal Malý madcatxs...@devoid-pointer.net Not a big deal, but note that the patch adds

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-wiimote-modules.c | 74 --- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-tmff.c | 83 ++ 2 files changed, 51 insertions(+), 34 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg3ff.c | 60 +++-- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-lgff.c | 70 +++--- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig| 2 +- drivers/hid/hid-holtekff.c | 47 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/hid

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-dr.c | 59 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/hid/Kconfig b

[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ý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/pm8xxx-vibrator.c | 28 +++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- 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

[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ý madcatxs...@devoid-pointer.net --- drivers/input/misc/Kconfig | 2 +- drivers/input/misc/twl4030-vibra.c | 31 +-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/input

[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ý madcatxs...@devoid-pointer.net --- 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

  1   2   3   4   >