summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJona Crasselt <jona.crasselt@fau.de>2018-12-20 17:57:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-20 18:11:58 +0100
commit215852f4b8bbf7a8d6a534dfb367bb0f1a2d5011 (patch)
treed86548011e3b73799c1523b8d53546041ce75556 /drivers
parentc58eef061dda7d843dcc0ad6fea7e597d4c377c0 (diff)
downloadlinux-215852f4b8bbf7a8d6a534dfb367bb0f1a2d5011.tar.gz
linux-215852f4b8bbf7a8d6a534dfb367bb0f1a2d5011.tar.bz2
linux-215852f4b8bbf7a8d6a534dfb367bb0f1a2d5011.zip
staging: mt7621-mmc: Correct spelling mistakes in comments
Changed "avaiable" to "available" and "interupt" to "interrupt". Signed-off-by: Jona Crasselt <jona.crasselt@fau.de> Signed-off-by: Felix Windsheimer <felix.windsheimer@fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/mt7621-mmc/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 79731b73b2f6..4b26ec896a96 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -1426,7 +1426,7 @@ static void msdc_enable_cd_irq(struct msdc_host *host, int enable)
/* for sdio, not set */
if ((hw->flags & MSDC_CD_PIN_EN) == 0) {
- /* Pull down card detection pin since it is not avaiable */
+ /* Pull down card detection pin since it is not available */
/*
* if (hw->config_gpio_pin)
* hw->config_gpio_pin(MSDC_CD_PIN, GPIO_PULL_DOWN);
@@ -1523,7 +1523,7 @@ static void msdc_init_hw(struct msdc_host *host)
/* Configure to enable SDIO mode. it's must otherwise sdio cmd5 failed */
sdr_set_bits(host->base + SDC_CFG, SDC_CFG_SDIO);
- /* disable detect SDIO device interupt function */
+ /* disable detect SDIO device interrupt function */
sdr_clr_bits(host->base + SDC_CFG, SDC_CFG_SDIOIDE);
/* eneable SMT for glitch filter */