From patchwork Fri May 8 19:45:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 6367291 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8AA59BEEE1 for ; Fri, 8 May 2015 19:45:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6CA120220 for ; Fri, 8 May 2015 19:45:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD05520204 for ; Fri, 8 May 2015 19:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753235AbbEHTpY (ORCPT ); Fri, 8 May 2015 15:45:24 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:41430 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311AbbEHTpX (ORCPT ); Fri, 8 May 2015 15:45:23 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t48JjLRe032552; Fri, 8 May 2015 14:45:21 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t48JjLH3012395; Fri, 8 May 2015 14:45:21 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Fri, 8 May 2015 14:45:20 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t48JjKJj021520; Fri, 8 May 2015 14:45:20 -0500 Received: from localhost (j-172-22-170-158.vpn.ti.com [172.22.170.158]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id t48JjK920486; Fri, 8 May 2015 14:45:20 -0500 (CDT) From: Dan Murphy To: CC: , Dan Murphy Subject: [PATCH] input: ff-core: Fix spelling mistake in ff-core Date: Fri, 8 May 2015 14:45:20 -0500 Message-ID: <1431114320-23861-1-git-send-email-dmurphy@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix spelling of magnitude s/manginude/magnitude Signed-off-by: Dan Murphy --- 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;