Message ID | 1429899401-7629-2-git-send-email-dmurphy@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
bump On 04/24/2015 01:16 PM, Dan Murphy wrote: > Fix spelling of magnitude > s/manginude/magnitude > > Signed-off-by: Dan Murphy <dmurphy@ti.com> > --- > 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;
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;
Fix spelling of magnitude s/manginude/magnitude Signed-off-by: Dan Murphy <dmurphy@ti.com> --- drivers/input/ff-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)