Skip to contentSkip to conversation

Input: drv2667: Fix Kconfig error for help screen

PATCH In review Dan Murphy 1 participant 4 messages Apr 24, 2015 – May 5, 2015

Subsystems (2)
lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 Input: drv2667: Fix Kconfig error for help screen

Fix the Kconfig for the drv2667 as there was a copy/paste error.

---
 drivers/input/misc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/misc/Kconfig +1 -1
index 4436ab1..7838f1a 100644
@@ -784,6 +784,6 @@ config INPUT_DRV2667_HAPTICS
 	  Say Y to enable support for the TI DRV2667 haptics driver.
 
 	  To compile this driver as a module, choose M here: the
-	  module will be called drv260x-haptics.
+	  module will be called drv2667-haptics.
 
 endif
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 input: ff-core: Fix spelling mistake in ff-core

Fix spelling of magnitude
s/manginude/magnitude

---
 drivers/input/ff-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/ff-core.c +1 -2
index b81c88c..d10154e 100644
@@ -70,12 +70,11 @@ static int compat_effect(struct ff_device *ff, struct ff_effect *effect)
 			return -EINVAL;
 
 		/*
-		 * calculate manginude of sine wave as average of rumble's
+		 * calculate magnitude of sine wave as average of rumble's
 		 * 2/3 of strong magnitude and 1/3 of weak magnitude
 		 */
 		magnitude = effect->u.rumble.strong_magnitude / 3 +
 			    effect->u.rumble.weak_magnitude / 6;
-
 		effect->type = FF_PERIODIC;
 		effect->u.periodic.waveform = FF_SINE;
 		effect->u.periodic.period = 50;
Signature · 1 line
1.9.1
author
#2 lore raw

Re: [PATCH] input: ff-core: Fix spelling mistake in ff-core

bump

Quoted 26 lines · Dan Murphy

Fix spelling of magnitude
s/manginude/magnitude

---
 drivers/input/ff-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/ff-core.c +1 -2
index b81c88c..d10154e 100644
@@ -70,12 +70,11 @@ static int compat_effect(struct ff_device *ff, struct ff_effect *effect)
 			return -EINVAL;
 
 		/*
-		 * calculate manginude of sine wave as average of rumble's
+		 * calculate magnitude of sine wave as average of rumble's
 		 * 2/3 of strong magnitude and 1/3 of weak magnitude
 		 */
 		magnitude = effect->u.rumble.strong_magnitude / 3 +
 			    effect->u.rumble.weak_magnitude / 6;
-
 		effect->type = FF_PERIODIC;
 		effect->u.periodic.waveform = FF_SINE;
 		effect->u.periodic.period = 50;
Signature · 2 lines
------------------
Dan Murphy
author
#3 lore raw
In reply to Dan Murphy

Bump

Quoted 20 lines · Dan Murphy

Fix the Kconfig for the drv2667 as there was a copy/paste error.

---
 drivers/input/misc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/misc/Kconfig +1 -1
index 4436ab1..7838f1a 100644
@@ -784,6 +784,6 @@ config INPUT_DRV2667_HAPTICS
 	  Say Y to enable support for the TI DRV2667 haptics driver.
 
 	  To compile this driver as a module, choose M here: the
-	  module will be called drv260x-haptics.
+	  module will be called drv2667-haptics.
 
 endif
Signature · 2 lines
------------------
Dan Murphy