Thread (4 messages) 4 messages, 1 author, 2015-05-05

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

From: Dan Murphy <hidden>
Date: 2015-05-05 12:05:41

bump
On 04/24/2015 01:16 PM, Dan Murphy wrote:
quoted hunk ↗ jump to hunk
Fix spelling of magnitude
s/manginude/magnitude

Signed-off-by: Dan Murphy <redacted>
---
 drivers/input/ff-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c
index b81c88c..d10154e 100644
--- a/drivers/input/ff-core.c
+++ b/drivers/input/ff-core.c
@@ -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;

-- 
------------------
Dan Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help