mmc: sdhci: add quirk for broken HS200 support
This patch defines a quirk for platforms unable to enable HS200 support. Signed-off-by: David Cohen <david.a.cohen@linux.intel.com> Reviewed-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Acked-by: Dong Aisheng <b29396@freescale.com> Cc: stable <stable@vger.kernel.org> # [3.13] Signed-off-by: Chris Ball <chris@printf.net>
This commit is contained in:
@@ -3016,7 +3016,8 @@ int sdhci_add_host(struct sdhci_host *host)
|
||||
/* SD3.0: SDR104 is supported so (for eMMC) the caps2
|
||||
* field can be promoted to support HS200.
|
||||
*/
|
||||
mmc->caps2 |= MMC_CAP2_HS200;
|
||||
if (!(host->quirks2 & SDHCI_QUIRK2_BROKEN_HS200))
|
||||
mmc->caps2 |= MMC_CAP2_HS200;
|
||||
} else if (caps[1] & SDHCI_SUPPORT_SDR50)
|
||||
mmc->caps |= MMC_CAP_UHS_SDR50;
|
||||
|
||||
|
Reference in New Issue
Block a user