mmc: host: Fix typos in comments across various files
authorYu Jiaoliang <yujiaoliang@vivo.com>
Sun, 29 Sep 2024 09:34:18 +0000 (17:34 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Oct 2024 10:40:10 +0000 (12:40 +0200)
This patch corrects several typos in comments within the mmc/host
directory. No functional changes are introduced, only comment
improvements for better readability.

Detected using codespell.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20240929093418.526901-1-yujiaoliang@vivo.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/atmel-mci.c
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/cavium-octeon.c
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/meson-gx-mmc.c
drivers/mmc/host/mmci.h
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-msm.c

index 204055b..fc36090 100644 (file)
@@ -860,7 +860,7 @@ static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data)
 }
 
 /*
- * Configure given PDC buffer taking care of alignement issues.
+ * Configure given PDC buffer taking care of alignment issues.
  * Update host->data_size and host->sg.
  */
 static void atmci_pdc_set_single_buf(struct atmel_mci *host,
index 27c666e..057d423 100644 (file)
@@ -543,7 +543,7 @@ static void au1xmmc_cmd_complete(struct au1xmmc_host *host, u32 status)
                                        cmd->resp[i] |= (r[i + 1] & 0xFF000000) >> 24;
                        }
                } else {
-                       /* Techincally, we should be getting all 48 bits of
+                       /* Technically, we should be getting all 48 bits of
                         * the response (SD_RESP1 + SD_RESP2), but because
                         * our response omits the CRC, our data ends up
                         * being shifted 8 bits to the right.  In this case,
index 72817c5..0592f35 100644 (file)
@@ -217,7 +217,7 @@ static int octeon_mmc_probe(struct platform_device *pdev)
                return PTR_ERR(base);
        host->dma_base = base;
        /*
-        * To keep the register addresses shared we intentionaly use
+        * To keep the register addresses shared we intentionally use
         * a negative offset here, first register used on Octeon therefore
         * starts at 0x20 (MIO_EMM_DMA_CFG).
         */
index 41e4512..aab1a8d 100644 (file)
@@ -1182,7 +1182,7 @@ static void dw_mci_submit_data(struct dw_mci *host, struct mmc_data *data)
                /*
                 * Use the initial fifoth_val for PIO mode. If wm_algined
                 * is set, we set watermark same as data size.
-                * If next issued data may be transfered by DMA mode,
+                * If next issued data may be transferred by DMA mode,
                 * prev_blksz should be invalidated.
                 */
                if (host->wm_aligned)
index a9e7c8d..694bb44 100644 (file)
@@ -879,7 +879,7 @@ static void meson_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
        /*
         * The memory at the end of the controller used as bounce buffer for
         * the dram_access_quirk only accepts 32bit read/write access,
-        * check the aligment and length of the data before starting the request.
+        * check the alignment and length of the data before starting the request.
         */
        if (host->dram_access_quirk && mrq->data) {
                mrq->cmd->error = meson_mmc_validate_dram_access(mmc, mrq->data);
index a5eb4ce..4d3647f 100644 (file)
@@ -77,7 +77,7 @@
 #define MCI_CPSM_INTERRUPT     BIT(8)
 #define MCI_CPSM_PENDING       BIT(9)
 #define MCI_CPSM_ENABLE                BIT(10)
-/* Command register flag extenstions in the ST Micro versions */
+/* Command register flag extensions in the ST Micro versions */
 #define MCI_CPSM_ST_SDIO_SUSP          BIT(11)
 #define MCI_CPSM_ST_ENCMD_COMPL                BIT(12)
 #define MCI_CPSM_ST_NIEN               BIT(13)
index fea994d..c7582ad 100644 (file)
@@ -1529,7 +1529,7 @@ static void sdhci_esdhc_imx_hwinit(struct sdhci_host *host)
                        writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL);
                } else if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) {
                        /*
-                        * ESDHC_STD_TUNING_EN may be configed in bootloader
+                        * ESDHC_STD_TUNING_EN may be configured in bootloader
                         * or ROM code, so clear this bit here to make sure
                         * the manual tuning can work.
                         */
@@ -1631,7 +1631,7 @@ sdhci_esdhc_imx_probe_dt(struct platform_device *pdev,
 
        /*
         * If we have this property, then activate WP check.
-        * Retrieveing and requesting the actual WP GPIO will happen
+        * Retrieving and requesting the actual WP GPIO will happen
         * in the call to mmc_of_parse().
         */
        if (of_property_read_bool(np, "wp-gpios"))
index 8dd180a..e002085 100644 (file)
@@ -2601,7 +2601,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
        sdhci_msm_handle_pwr_irq(host, 0);
 
        /*
-        * Ensure that above writes are propogated before interrupt enablement
+        * Ensure that above writes are propagated before interrupt enablement
         * in GIC.
         */
        mb();