|
@@ -306,6 +306,9 @@ static int mmc_read_switch(struct mmc_card *card)
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (status[13] & UHS_SDR50_BUS_SPEED)
|
|
|
|
+ card->sw_caps.hs_max_dtr = 50000000;
|
|
|
|
+
|
|
if (card->scr.sda_spec3) {
|
|
if (card->scr.sda_spec3) {
|
|
card->sw_caps.sd3_bus_mode = status[13];
|
|
card->sw_caps.sd3_bus_mode = status[13];
|
|
|
|
|
|
@@ -348,9 +351,6 @@ static int mmc_read_switch(struct mmc_card *card)
|
|
}
|
|
}
|
|
|
|
|
|
card->sw_caps.sd3_curr_limit = status[7];
|
|
card->sw_caps.sd3_curr_limit = status[7];
|
|
- } else {
|
|
|
|
- if (status[13] & 0x02)
|
|
|
|
- card->sw_caps.hs_max_dtr = 50000000;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
out:
|
|
out:
|