Re: [RFC/PATCH RESEND] mmc: sdhci: Enable high speed support for MMC cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

On Sat, Aug 28, 2010 at 4:19 AM, Chris Ball <cjb@xxxxxxxxxx> wrote:
> Hi,
>
> This patch wasn't responded to -- any feedback from the list?
>
> From: George G. Davis <gdavis@xxxxxxxxxx>
> Date: Thu, 18 Feb 2010 15:27:53 -0500
>
> Allow high speed mode for high speed capable ver 4.x MMC cards.
>
> Comments and/or feedback appreciated.
>
> Signed-off-by: George G. Davis <gdavis@xxxxxxxxxx>
> [cjb: rebase patch against Linus]
> Signed-off-by: Chris Ball <cjb@xxxxxxxxxx>
> ---
>  drivers/mmc/host/sdhci.c |    7 +++++--
>  1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
> index fdc9233..8e360e1 100644
> --- a/drivers/mmc/host/sdhci.c
> +++ b/drivers/mmc/host/sdhci.c
> @@ -1180,7 +1180,8 @@ static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
>        else
>                ctrl &= ~SDHCI_CTRL_4BITBUS;
>
> -       if (ios->timing == MMC_TIMING_SD_HS &&
> +       if ((ios->timing == MMC_TIMING_SD_HS ||
> +            ios->timing == MMC_TIMING_MMC_HS) &&
>            !(host->quirks & SDHCI_QUIRK_NO_HISPD_BIT))
>                ctrl |= SDHCI_CTRL_HISPD;
>        else
> @@ -1823,8 +1824,10 @@ int sdhci_add_host(struct sdhci_host *host)
>        if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA))
>                mmc->caps |= MMC_CAP_4_BIT_DATA;
>
> -       if (caps & SDHCI_CAN_DO_HISPD)
> +       if (caps & SDHCI_CAN_DO_HISPD) {
>                mmc->caps |= MMC_CAP_SD_HIGHSPEED;
> +               mmc->caps |= MMC_CAP_MMC_HIGHSPEED;
> +    }
It's already patched. you can find it easily at list.

Thank you,
Kyungmin Park
>
>        if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION)
>                mmc->caps |= MMC_CAP_NEEDS_POLL;
> --
> 1.7.0.1
>
> --
> Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
> One Laptop Per Child
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux