aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-01-21 14:22:06 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-01-21 14:22:06 +0000
commit1e9d4974c102d28a756eaaf0daf265e038f8f8b7 (patch)
treedee1a3a080350a88142cb5ba88170308b2bd726d /sys/dev/mmc
parent598fc8929bf14790cdeebc5a116f41955a7577aa (diff)
downloadsrc-1e9d4974c102d28a756eaaf0daf265e038f8f8b7.tar.gz
src-1e9d4974c102d28a756eaaf0daf265e038f8f8b7.zip
Fix copy/paste mistake in variable name. This could lead to using incorrect
bus frequency.
Notes
Notes: svn path=/head/; revision=187525
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c
index 2b2d6ab12894..a350e7260383 100644
--- a/sys/dev/mmc/mmc.c
+++ b/sys/dev/mmc/mmc.c
@@ -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++) {