2022-06-08 13:34:50

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] mmc: mmci: Fix typo in comment

Delete the redundant word 'is'.

Signed-off-by: Xiang wangx <[email protected]>
---
drivers/mmc/host/mmci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 01159eaf8694..012aa85489d8 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -762,7 +762,7 @@ int mmci_dmae_setup(struct mmci_host *host)

/*
* If only an RX channel is specified, the driver will
- * attempt to use it bidirectionally, however if it is
+ * attempt to use it bidirectionally, however if it
* is specified but cannot be located, DMA will be disabled.
*/
if (dmae->rx_channel && !dmae->tx_channel)
--
2.36.1


2022-06-15 18:57:49

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH] mmc: mmci: Fix typo in comment

On Wed, 8 Jun 2022 at 06:12, Xiang wangx <[email protected]> wrote:
>
> Delete the redundant word 'is'.
>
> Signed-off-by: Xiang wangx <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/mmc/host/mmci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
> index 01159eaf8694..012aa85489d8 100644
> --- a/drivers/mmc/host/mmci.c
> +++ b/drivers/mmc/host/mmci.c
> @@ -762,7 +762,7 @@ int mmci_dmae_setup(struct mmci_host *host)
>
> /*
> * If only an RX channel is specified, the driver will
> - * attempt to use it bidirectionally, however if it is
> + * attempt to use it bidirectionally, however if it
> * is specified but cannot be located, DMA will be disabled.
> */
> if (dmae->rx_channel && !dmae->tx_channel)
> --
> 2.36.1
>