From patchwork Tue Aug 16 14:56:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Meerwald-Stadler X-Patchwork-Id: 9284121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B7FB160839 for ; Tue, 16 Aug 2016 14:57:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEBD228802 for ; Tue, 16 Aug 2016 14:57:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0D222884D; Tue, 16 Aug 2016 14:57:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCEB728802 for ; Tue, 16 Aug 2016 14:56:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CF383266895; Tue, 16 Aug 2016 16:56:58 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C071D26680C; Tue, 16 Aug 2016 16:56:30 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 733C42667AA; Tue, 16 Aug 2016 16:56:28 +0200 (CEST) Received: from pmeerw.net (ns.pmeerw.net [84.19.176.92]) by alsa0.perex.cz (Postfix) with ESMTP id 421632666BD for ; Tue, 16 Aug 2016 16:56:23 +0200 (CEST) Received: from pmeerw.keymachine.de (pmeerw.net [84.19.176.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: pmeerw@pmeerw.net) by pmeerw.net (Postfix) with ESMTPSA id E1BB455C0F0B; Tue, 16 Aug 2016 16:56:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pmeerw.net; s=mail; t=1471359378; bh=sSiYODKUlNHT2b7u3s6HHdVK9TQULJsZQiYCaZhhyNs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nO+gPyNRh8lwVwAfgl9cw5L6KqTGOShhlEHR3Qj45KSqRAjw5aKTa6Go8Y81OiqER JsWQRI5dxTmqjvMgDs+YIqF9gAGWh5afmKVO1kwb/mBmYotbRUgMn4SQdaNpgeJPnq bShvM8skHbVSqPv2AJDUJAPhkUZdasC3l1K6Y/xQ= From: Peter Meerwald-Stadler To: Mark Brown Date: Tue, 16 Aug 2016 16:56:18 +0200 Message-Id: <1471359378-9122-2-git-send-email-pmeerw@pmeerw.net> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1471359378-9122-1-git-send-email-pmeerw@pmeerw.net> References: <1471359378-9122-1-git-send-email-pmeerw@pmeerw.net> Cc: Songjun Wu , alsa-devel@alsa-project.org, lgirdwood@gmail.com, Peter Meerwald-Stadler Subject: [alsa-devel] [PATCH 2/2] ASoC: atmel-pdmic: Fix typos in comments and error messages X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Peter Meerwald-Stadler Cc: Songjun Wu --- sound/soc/atmel/atmel-pdmic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/atmel/atmel-pdmic.c b/sound/soc/atmel/atmel-pdmic.c index 5f56da6..70e8bdc 100644 --- a/sound/soc/atmel/atmel-pdmic.c +++ b/sound/soc/atmel/atmel-pdmic.c @@ -80,7 +80,7 @@ static struct atmel_pdmic_pdata *atmel_pdmic_dt_init(struct device *dev) if (pdata->mic_max_freq < pdata->mic_min_freq) { dev_err(dev, - "mic-max-freq should not less than mic-min-freq\n"); + "mic-max-freq should not be less than mic-min-freq\n"); return ERR_PTR(-EINVAL); } @@ -596,7 +596,7 @@ static int atmel_pdmic_probe(struct platform_device *pdev) dd->irq = platform_get_irq(pdev, 0); if (dd->irq < 0) { ret = dd->irq; - dev_err(dev, "failed to could not get irq: %d\n", ret); + dev_err(dev, "failed to get irq: %d\n", ret); return ret; } @@ -614,7 +614,7 @@ static int atmel_pdmic_probe(struct platform_device *pdev) return ret; } - /* The gclk clock frequency must always be tree times + /* The gclk clock frequency must always be three times * lower than the pclk clock frequency */ ret = clk_set_rate(dd->gclk, clk_get_rate(dd->pclk)/3); @@ -649,7 +649,7 @@ static int atmel_pdmic_probe(struct platform_device *pdev) return ret; } - /* Get the minimal and maximal sample rate that micphone supports */ + /* Get the minimal and maximal sample rate that the microphone supports */ atmel_pdmic_get_sample_rate(dd, &rate_min, &rate_max); /* register cpu dai */