Fix copy/paste mistake in variable name. This could lead to using incorrect
bus frequency.
This commit is contained in:
parent
598fc8929b
commit
1e9d4974c1
@ -1326,7 +1326,7 @@ mmc_calculate_clock(struct mmc_softc *sc)
|
||||
max_timing = ivar->timing;
|
||||
if (ivar->tran_speed < max_dtr)
|
||||
max_dtr = ivar->tran_speed;
|
||||
if (ivar->hs_tran_speed < max_dtr)
|
||||
if (ivar->hs_tran_speed < max_hs_dtr)
|
||||
max_hs_dtr = ivar->hs_tran_speed;
|
||||
}
|
||||
for (i = 0; i < nkid; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user