提交 63ef731a 编写于 作者: T Timo Teras 提交者: Pierre Ossman

MMC: Do not set unsupported bits in OCR response

The card might go to inactive state (according to specification), if
there are unsupported bits set in the OCR.
Signed-off-by: NTimo Teras <timo.teras@solidboot.com>
Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
上级 25a122fd
......@@ -475,7 +475,7 @@ static u32 mmc_select_voltage(struct mmc_host *host, u32 ocr)
if (bit) {
bit -= 1;
ocr = 3 << bit;
ocr &= 3 << bit;
host->ios.vdd = bit;
mmc_set_ios(host);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册