Fix copy/paste mistake in variable name. This could lead to using incorrect

bus frequency.
This commit is contained in:
Alexander Motin 2009-01-21 14:22:06 +00:00
parent 598fc8929b
commit 1e9d4974c1

View File

@ -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++) {