diff options
author | ian <ian@FreeBSD.org> | 2014-05-12 22:15:57 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-12 22:15:57 +0000 |
commit | 01928d6e582e53eba13ef6948fcd3c78568d097a (patch) | |
tree | 0bb6b331af6ea5550775328be191c8ae238885af /sys/arm | |
parent | abdf44b4bc7f8aa2f350307fb43ea808ef23fcb8 (diff) | |
download | FreeBSD-src-01928d6e582e53eba13ef6948fcd3c78568d097a.zip FreeBSD-src-01928d6e582e53eba13ef6948fcd3c78568d097a.tar.gz |
MFC r259099: Fix a small error in calculating length of DELAY().
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/ti/am335x/am335x_dmtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/ti/am335x/am335x_dmtimer.c b/sys/arm/ti/am335x/am335x_dmtimer.c index bd56484..9691fcf 100644 --- a/sys/arm/ti/am335x/am335x_dmtimer.c +++ b/sys/arm/ti/am335x/am335x_dmtimer.c @@ -359,7 +359,7 @@ DELAY(int usec) } /* Get the number of times to count */ - counts = usec * ((am335x_dmtimer_tc.tc_frequency / 1000000) + 1); + counts = usec * (am335x_dmtimer_tc.tc_frequency / 1000000) + 1; first = am335x_dmtimer_tc_read_4(DMTIMER_TCRR); |