]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci: fix caps2 for HS200
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 12 Jun 2013 06:16:38 +0000 (08:16 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:24 +0000 (12:39 -0400)
commit156e14b126ffb6f040bc6f1aff3c51077e42a744
treec023d6e8432e3e85a96a43bf93c522dc00f316a0
parent0dcaa2499b7d111bd70da5b0976c34210c850fb3
mmc: sdhci: fix caps2 for HS200

Although the HC supports HS200 (eMMC) the caps2 are always zero; this
means there's no way to use the super speed mode (when init the card).

If the HC support SDR104, for SD3.0, so it also supports HS200 for eMMC
and this patch just sets the MMC_CAP2_HS200 in the host caps2 field.

Reported-by: Youssef Triki <youssef.triki@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h