summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-12 22:15:57 +0000
committerian <ian@FreeBSD.org>2014-05-12 22:15:57 +0000
commit01928d6e582e53eba13ef6948fcd3c78568d097a (patch)
tree0bb6b331af6ea5550775328be191c8ae238885af /sys/arm
parentabdf44b4bc7f8aa2f350307fb43ea808ef23fcb8 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud