Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1402475pxb; Thu, 28 Oct 2021 03:03:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY5kXeWSiSQe1hV1VGnQZluibPY4qVJu1VfvxGKykHICUd9N6Iq2sl33qxGNzi4Br20hl1 X-Received: by 2002:a17:906:dc91:: with SMTP id cs17mr2409704ejc.543.1635415411422; Thu, 28 Oct 2021 03:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635415411; cv=none; d=google.com; s=arc-20160816; b=erKjpPgHtCxk7gVUAg/Bpu6qRSs3jZoO/sCrOxayoR7Bw8M/q0nbmf0xoIP01tralu 77BJ81CRUdL5pwf2VyrPzUmrbvrY5Vo1LY4SJuw8wV3qrX2Cxd3PsxOVDOxWNjDnqZI2 xIF5HLx935YIp7iP1nFARUOIEjCgNPFQJK4cRwepWkrGqv6aJN7sL3nwLT3dIH867/0W s3uH4Od7apQaNTLqyfBC0k53cUnI0D40mHZWCiCe9JOED/96b3FzPavcwMUqzpmP4H0z PRhD8Ec7/5oKzRRq1c97tLbw4XhjvY6P2RNgpvtG5sfjpPg1ASqyhsf2eCEa0nOmnCUz J1lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zH77Pp44GzU2/mdoe346UbjhRK1B7c5cpEUdWokacgM=; b=Lb6aeq0mq44gsF5CA5gEQJLRRW0bW80Rc5WP5NHqMZsOAdHcbUjjW8yFlngtsTLaLr nx+qeIe+omOTC9bnKRwZ4jO8BhjuTDNffRHCKZcSFy1P11+4OtTlATDqcOES/vnFG85/ 3jBGQErluUjy9iC/FQgH+JeMI+WEzrI01uko0+UdeGCmCRgrAx8XfnG0WSOSEw5djxHE TPYLeKR8P4WDFFQnxawFx2XhOPJtv7EbHQwbJTWVKwKewqRvIuwaQqyBw83ch5DMubt4 YNDtJO0kdmA8Dxi0oADv9pRn5As2qZVoL3g2mDkR27wpkgwtFw5hNpUR2i5snVOwdc5Y j/CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CleTm/dC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si4626760edd.241.2021.10.28.03.03.07; Thu, 28 Oct 2021 03:03:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CleTm/dC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229963AbhJ1KDS (ORCPT + 99 others); Thu, 28 Oct 2021 06:03:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbhJ1KDH (ORCPT ); Thu, 28 Oct 2021 06:03:07 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CB55C061767 for ; Thu, 28 Oct 2021 03:00:40 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id bi35so12347199lfb.9 for ; Thu, 28 Oct 2021 03:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zH77Pp44GzU2/mdoe346UbjhRK1B7c5cpEUdWokacgM=; b=CleTm/dC2x8A9iZozB6/QHm7oBHfJUuBkh4xpX3f8zr+yQSuORhJjP/bLBZY1wS2Ph yC0nWVbOvT/pxpdE/L3nzBfVDjAV0W6+6G/xD8oyPJXQ29SMcfhoT3QqxsbuKKVGIvAP /aAPvPFn9U4RD+c7MdVW0d00rICXvVkJ5NkMueIZoqOzwTeyqTy5Vil2V9m1lp+ddGpO 1ESh2Yz6pxx5q1VmnLIx9Bx4wGiSvI5K9SLlz24CGSXNb1Dc03IVDSEMwOEjWZy0t5o+ b4NNZm2xMaRpBzYLljmzI9WEaA7l9LYH4cfAI0nOOpn3E+aWbgpAa4iDDCOCPOXSzzc3 YBNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zH77Pp44GzU2/mdoe346UbjhRK1B7c5cpEUdWokacgM=; b=vvEMiWyWgHenIPYHKGXGwb9iJtCiiWvHx4FfQ4vTIv8kVrYzs91h9+dx/gs9xjn3za 49Lva5K60xD0DmKILtul52KlX77wEzty52Xvens2afUrUxi7P3GnXEMIVwrME6R1O6qP JYJoapLRqkNwUNn+mgkdJE+PzPvXoqtWAbDvG0afcBAcS00kzuD24RjceyMLJXopzNwJ DtOeIVcoIQfRTsocFWkSN62/uiH4jrucknRfB1kBMJAusKqEPUifNmwK55nf6VML4DLU Z09csLpLvFuzU9r7xF6wclmHhWMHFD4GvO+ceG0WO87ez01U6UmOWFqHTVCy9pqNqa4r raAg== X-Gm-Message-State: AOAM53283ZRC33j5YBN6evlMlyK1L99h/7zyEDFK/eyUlUkqzQaM3nz8 Xdo1OYLAC7EspHqlmjQysDK7OmbiB0mcvxiCKLMy1w== X-Received: by 2002:ac2:4e8a:: with SMTP id o10mr3302231lfr.358.1635415238498; Thu, 28 Oct 2021 03:00:38 -0700 (PDT) MIME-Version: 1.0 References: <20211027130812.426373-1-colin.i.king@gmail.com> In-Reply-To: <20211027130812.426373-1-colin.i.king@gmail.com> From: Ulf Hansson Date: Thu, 28 Oct 2021 12:00:01 +0200 Message-ID: Subject: Re: [PATCH][next] mmc: dw_mmc: exynos: Fix spelling mistake "candiates" -> candidates To: Colin Ian King Cc: Jaehoon Chung , Krzysztof Kozlowski , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Oct 2021 at 15:08, Colin Ian King wrote: > > There are several spelling mistakes in variable names and in a dev_warn > message. Fix these. > > Signed-off-by: Colin Ian King Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/dw_mmc-exynos.c | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c > index 1f8a3c0ddfe1..c2dd29ef45c6 100644 > --- a/drivers/mmc/host/dw_mmc-exynos.c > +++ b/drivers/mmc/host/dw_mmc-exynos.c > @@ -442,14 +442,14 @@ static inline u8 dw_mci_exynos_move_next_clksmpl(struct dw_mci *host) > return sample; > } > > -static s8 dw_mci_exynos_get_best_clksmpl(u8 candiates) > +static s8 dw_mci_exynos_get_best_clksmpl(u8 candidates) > { > const u8 iter = 8; > u8 __c; > s8 i, loc = -1; > > for (i = 0; i < iter; i++) { > - __c = ror8(candiates, i); > + __c = ror8(candidates, i); > if ((__c & 0xc7) == 0xc7) { > loc = i; > goto out; > @@ -457,7 +457,7 @@ static s8 dw_mci_exynos_get_best_clksmpl(u8 candiates) > } > > for (i = 0; i < iter; i++) { > - __c = ror8(candiates, i); > + __c = ror8(candidates, i); > if ((__c & 0x83) == 0x83) { > loc = i; > goto out; > @@ -466,11 +466,11 @@ static s8 dw_mci_exynos_get_best_clksmpl(u8 candiates) > > /* > * If there is no cadiates value, then it needs to return -EIO. > - * If there are candiates values and don't find bset clk sample value, > - * then use a first candiates clock sample value. > + * If there are candidates values and don't find bset clk sample value, > + * then use a first candidates clock sample value. > */ > for (i = 0; i < iter; i++) { > - __c = ror8(candiates, i); > + __c = ror8(candidates, i); > if ((__c & 0x1) == 0x1) { > loc = i; > goto out; > @@ -485,7 +485,7 @@ static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode) > struct dw_mci *host = slot->host; > struct dw_mci_exynos_priv_data *priv = host->priv; > struct mmc_host *mmc = slot->mmc; > - u8 start_smpl, smpl, candiates = 0; > + u8 start_smpl, smpl, candidates = 0; > s8 found; > int ret = 0; > > @@ -496,18 +496,18 @@ static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode) > smpl = dw_mci_exynos_move_next_clksmpl(host); > > if (!mmc_send_tuning(mmc, opcode, NULL)) > - candiates |= (1 << smpl); > + candidates |= (1 << smpl); > > } while (start_smpl != smpl); > > - found = dw_mci_exynos_get_best_clksmpl(candiates); > + found = dw_mci_exynos_get_best_clksmpl(candidates); > if (found >= 0) { > dw_mci_exynos_set_clksmpl(host, found); > priv->tuned_sample = found; > } else { > ret = -EIO; > dev_warn(&mmc->class_dev, > - "There is no candiates value about clksmpl!\n"); > + "There is no candidates value about clksmpl!\n"); > } > > return ret; > -- > 2.32.0 >