All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: host: Update card_busy callback info
@ 2021-08-16 15:30 Mårten Lindahl
  2021-08-24 14:56 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Mårten Lindahl @ 2021-08-16 15:30 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: kernel, linux-mmc, Mårten Lindahl

According to SD specification checking state of DAT0 only is enough for
polling card busy signal. Header file comment says DAT[0:3]. Fix this.

Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>
---
 include/linux/mmc/host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 0abd47e9ef9b..ff1a251bb0bc 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -153,7 +153,7 @@ struct mmc_host_ops {
 
 	int	(*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
 
-	/* Check if the card is pulling dat[0:3] low */
+	/* Check if the card is pulling dat[0] low */
 	int	(*card_busy)(struct mmc_host *host);
 
 	/* The tuning command opcode value is different for SD and eMMC cards */
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: host: Update card_busy callback info
  2021-08-16 15:30 [PATCH] mmc: host: Update card_busy callback info Mårten Lindahl
@ 2021-08-24 14:56 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2021-08-24 14:56 UTC (permalink / raw)
  To: Mårten Lindahl; +Cc: kernel, linux-mmc

On Mon, 16 Aug 2021 at 17:31, Mårten Lindahl <marten.lindahl@axis.com> wrote:
>
> According to SD specification checking state of DAT0 only is enough for
> polling card busy signal. Header file comment says DAT[0:3]. Fix this.
>
> Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  include/linux/mmc/host.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
> index 0abd47e9ef9b..ff1a251bb0bc 100644
> --- a/include/linux/mmc/host.h
> +++ b/include/linux/mmc/host.h
> @@ -153,7 +153,7 @@ struct mmc_host_ops {
>
>         int     (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
>
> -       /* Check if the card is pulling dat[0:3] low */
> +       /* Check if the card is pulling dat[0] low */
>         int     (*card_busy)(struct mmc_host *host);
>
>         /* The tuning command opcode value is different for SD and eMMC cards */
> --
> 2.20.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-24 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 15:30 [PATCH] mmc: host: Update card_busy callback info Mårten Lindahl
2021-08-24 14:56 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.