From patchwork Fri Apr 24 18:16:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 6272741 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 D033ABF4A7 for ; Fri, 24 Apr 2015 18:16:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10A6020220 for ; Fri, 24 Apr 2015 18:16:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2270420375 for ; Fri, 24 Apr 2015 18:16:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030183AbbDXSQr (ORCPT ); Fri, 24 Apr 2015 14:16:47 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:42784 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030831AbbDXSQq (ORCPT ); Fri, 24 Apr 2015 14:16:46 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t3OIGjGM026821; Fri, 24 Apr 2015 13:16:45 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t3OIGiIN029376; Fri, 24 Apr 2015 13:16:44 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Fri, 24 Apr 2015 13:16:44 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t3OIGiwm005773; Fri, 24 Apr 2015 13:16:44 -0500 Received: from localhost (j-172-22-156-183.vpn.ti.com [172.22.156.183]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id t3OIGi923956; Fri, 24 Apr 2015 13:16:44 -0500 (CDT) From: Dan Murphy To: CC: , Dan Murphy Subject: [PATCH] input: ff-core: Fix spelling mistake in ff-core Date: Fri, 24 Apr 2015 13:16:41 -0500 Message-ID: <1429899401-7629-2-git-send-email-dmurphy@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429899401-7629-1-git-send-email-dmurphy@ti.com> References: <1429899401-7629-1-git-send-email-dmurphy@ti.com> 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;