Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231675

Re: [PATCH 2/3] mmc: debugfs: implement ios show for SDR12 and SDR25

From Ulf Hansson <ulf.hansson@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] mmc: debugfs: implement ios show for SDR12 and SDR25
Date 2015-09-23 21:40 +0200
Message-ID <qbY3B-5k0-13@gated-at.bofh.it> (permalink)
References <qbkz8-7dx-5@gated-at.bofh.it> <qbkSu-7zJ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 22 September 2015 at 03:19, Shawn Lin <shawn.lin@rock-chips.com> wrote:
> This patch add MMC_TIMING_UHS_SDR12 and MMC_TIMING_UHS_SDR25
> for mmc_ios_show to show the ios->timing if mmc card runs under
> these two mode.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
>
>  drivers/mmc/core/debugfs.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
> index b2ab936..31155e8 100644
> --- a/drivers/mmc/core/debugfs.c
> +++ b/drivers/mmc/core/debugfs.c
> @@ -126,6 +126,12 @@ static int mmc_ios_show(struct seq_file *s, void *data)
>         case MMC_TIMING_SD_HS:
>                 str = "sd high-speed";
>                 break;
> +       case MMC_TIMING_UHS_SDR12:
> +               str = "mmc uhs SDR12";

/s/mmc/sd

> +               break;
> +       case MMC_TIMING_UHS_SDR25:
> +               str = "mmc uhs SDR25";

/s/mmc/sd


> +               break;
>         case MMC_TIMING_UHS_SDR50:
>                 str = "sd uhs SDR50";
>                 break;
> --
> 2.3.7
>
>

Otherwise it looks good.

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/3] mmc: debugfs: implement ios show for SDR12 and SDR25 Ulf Hansson <ulf.hansson@linaro.org> - 2015-09-23 21:40 +0200

csiph-web