[PATCH 3/4] HID: hid-lg4ff: Set absolute axes parametes on DFP

2012-09-23 Thread Michal Malý
it. Signed-off-by: Michal Malý madcatxs...@gmail.com --- From e7fdafab7b67ae62e46f4323cbca646cd46a7266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= madcatxs...@gmail.com Date: Sun, 23 Sep 2012 23:56:39 +0200 Subject: [PATCH 3/4] Set absolute axes parameters manually on DFP

[PATCH 4/4] HID: lg4ff: Minor coding style fixes in lg4ff and hid-lg

2012-09-23 Thread Michal Malý
Fixes a couple of minor coding style issues. Signed-off-by: Michal Malý madcatxs...@gmail.com --- From eaa8ca4efae69e2510fbdffcd758cd3b88daf8a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= madcatxs...@gmail.com Date: Mon, 24 Sep 2012 00:18:24 +0200 Subject: [PATCH 4/4] Various

[PATCH v2 3/4] HID: hid-lg4ff: Set absolute axes parametes on DFP

2012-09-24 Thread Michal Malý
Removed a misleading Should never happen code comment. Signed-off-by: Michal Malý madcatxs...@gmail.com --- From a81aa90d4155fd3b223a7149f3774748d7061aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= madcatxs...@gmail.com Date: Sun, 23 Sep 2012 23:56:39 +0200 Subject: [PATCH 3/4

Re: [PATCH] HID: logitech - lg2ff: Add IDs for Formula Vibration Feedback Wheel

2013-10-08 Thread Michal Malý
Hey guys, I assume that we're talking about this wheel (http://www.logitech.com/en-roeu/support/298)? Does the wheel have an actual FFB servo or does it have just a rumble motor that shakes the wheel? If it's the latter, supporting it in lg2ff is a way to go. Description in KConfig should

[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

[RFC v2] ff-memless-next driver

2013-12-21 Thread Michal Malý
documentation file I tried to cut the lines to keep the 80 chars limit, but in some cases it was not possible without compromising readability... Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 15a760ddca461448c95c2845008adc74bade2977 Mon Sep 17 00

[RFC v3] Add ff-memless-next

2013-12-23 Thread Michal Malý
One case where uncombinable effects were mishandled was corrected. Rest of the changes are just coding style fixes. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- From 2de27604adeefa73e30ee049fae4c38265beb85d Mon Sep 17 00:00:00 2001 From

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

2013-12-23 Thread Michal Malý
On Monday 23 of December 2013 16:21:48 you wrote: On Mon, 2013-12-23 at 23:46 +0100, Michal Malý wrote: One case where uncombinable effects were mishandled was corrected. Rest of the changes are just coding style fixes. trivia: diff --git a/drivers/input/ff-memless-next.c b/drivers

[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-input@vger.kernel.org Cc: linux-ker...@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 0/5] Add ff-memless-next and make hid-lg4ff use it

2014-02-04 Thread Michal Malý
-memless-next. The immediate benefit of this is support of all periodic effects and ramp effect. Michal M. Michal Malý (5): INPUT: Add ff-memless-next module HID: Port hid-lg4ff to ff-memless-next HID: Add support for periodic effects in hid-lg4ff HID: Add support for ramp effect in hid

[PATCH 1/5] Add ff-memless-next

2014-02-04 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 2/5] Port hid-lg4ff to ff-memless-next

2014-02-04 Thread Michal Malý
Port hid-lg4ff to ff-memless-next. --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-lg4ff.c | 86 + 2 files changed, 52 insertions(+), 36 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 34e2d39..31c4b43 100644 ---

Re: [PATCH 2/5] Port hid-lg4ff to ff-memless-next

2014-02-04 Thread Michal Malý
On Wednesday 05 of February 2014 00:54:45 Michal Malý wrote: Hi, I have simply taken what we have right now and ported it over to ff-mlnx. I believe that any improvements based on the previous investigation should go into another series because we most certainly don't want to introduce any

[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 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 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

[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-input in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[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 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 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 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

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

2014-04-22 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 v2: - Add missing msecs to jiffies conversion in ff-memless-next - lgff: Properly convert force on Y axis from MLNX to device range Support periodic

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

2014-04-22 Thread Michal Malý
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/Kconfig b/drivers/hid/Kconfig index

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

2014-04-22 Thread Michal Malý
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/drivers/hid/Kconfig index c7794ae

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

2014-04-22 Thread Michal Malý
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/input/misc/Kconfig b/drivers/input/misc

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

2014-04-22 Thread Michal Malý
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/misc/Kconfig b/drivers/input/misc

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

2014-04-22 Thread Michal Malý
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/Kconfig b/drivers/input/misc/Kconfig

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

2014-04-22 Thread Michal Malý
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 a/drivers/input/misc/Kconfig b/drivers/input

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

2014-04-22 Thread Michal Malý
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 index 0ba1962..24b336e 100644

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

2014-04-22 Thread Michal Malý
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/drivers/hid/Kconfig index 6e233d2

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

2014-04-22 Thread Michal Malý
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/drivers/hid/Kconfig index d1d4e77

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

2014-04-22 Thread Michal Malý
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/Kconfig b/drivers/input/misc/Kconfig

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

2014-04-22 Thread Michal Malý
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 index f722001..68c19a0 100644

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

2014-04-22 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 v2 04/24] input: Port twl6040-vibra to ff-memless-next

2014-04-22 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 v2 13/24] input: Port hid-lg3ff to ff-memless-next

2014-04-22 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 v2 17/24] input: Port hid-tmff to ff-memless-next

2014-04-22 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 v2 22/24] input: Port hid-lg2ff to ff-memless-next

2014-04-22 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 v2 10/24] input: Port hid-gaff to ff-memless-next

2014-04-22 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 v2 11/24] input: Port hid-holtekff to ff-memless-next

2014-04-22 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 v2 15/24] input: Port hid-sjoy to ff-memless-next

2014-04-22 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 v2 16/24] input: Port hid-sony to ff-memless-next

2014-04-22 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 v2 19/24] input: Port hid-zpff to ff-memless-next

2014-04-22 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 v2 21/24] input: Port xpad to ff-memless-next

2014-04-22 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 v2 20/24] input: Port gamecon to ff-memless-next

2014-04-22 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 v2 00/24] input: Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-22 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 v2: - Add missing msecs to jiffies conversion in ff-memless-next - lgff: Properly convert force on Y axis from MLNX to device range Support periodic

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

2014-04-22 Thread Michal Malý
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 + include

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

2014-04-22 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 v2 09/24] input: Port hid-dr to ff-memless-next

2014-04-22 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 v2 08/24] input: Port hid-emsff to ff-memless-next

2014-04-22 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 v2 07/24] input: Port hid-axff to ff-memless-next

2014-04-22 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 v2 06/24] input: Port pm8xxx-vibrator to ff-memless-next

2014-04-22 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 v2 05/24] input: Port max8997_haptic to ff-memless-next

2014-04-22 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

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

2014-04-23 Thread Michal Malý
On Wednesday 23 of April 2014 14:12:59 Oliver Neukum wrote: On Tue, 2014-04-22 at 15:59 +0200, Michal Malý wrote: +/* Some devices might have a limit on how many uncombinable effects + * can be played at once */ +static int mlnx_upload_conditional(struct mlnx_device *mlnxdev

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

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

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

2014-04-23 Thread Michal Malý
On Wednesday 23 of April 2014 11:47:05 si...@mungewell.org wrote: On Wed, Apr 23, 2014 at 03:14:44PM +, madcatxs...@devoid-pointer.net wrote: This is another case where even the old code was flawed, right? Should I try to stuff the fixes into these patches or would a few extra

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 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 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 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 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 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 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 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

  1   2   >