提交 42979002 编写于 作者: S Siva Durga Prasad Paladugu 提交者: Michal Simek

mmc: sdhci: Clear high speed if not supported

Clear high speed bit if it was not supported by
the driver.
Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: NEmil Lenchak <emill@xilinx.com>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 a57a4a5d
......@@ -530,6 +530,10 @@ int add_sdhci(struct sdhci_host *host, u32 max_clk, u32 min_clk)
if (caps & SDHCI_CAN_DO_8BIT)
host->cfg.host_caps |= MMC_MODE_8BIT;
}
if (host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)
host->cfg.host_caps &= ~(MMC_MODE_HS | MMC_MODE_HS_52MHz);
if (host->host_caps)
host->cfg.host_caps |= host->host_caps;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册