hw/other: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
1 parent
6eedbb5b0c
commit
9b4b4e510b
48 files changed
+85
-85
No files matched your search
@@ -236,7 +236,7 @@ static void watchdog_hit(void *opaque)
|
||||
{
|
||||
ETRAXTimerState *t = opaque;
|
||||
if (t->wd_hits == 0) {
|
||||
/* real hw gives a single tick before reseting but we are
|
||||
/* real hw gives a single tick before resetting but we are
|
||||
a bit friendlier to compensate for our slower execution. */
|
||||
ptimer_set_count(t->ptimer_wd, 10);
|
||||
ptimer_run(t->ptimer_wd, 1);
|
||||
|
||||
@@ -115,7 +115,7 @@ static int elapsed_time(RTMRState *tmr, int ch, int64_t delta)
|
||||
et = tmr->div_round[ch] / divrate;
|
||||
tmr->div_round[ch] %= divrate;
|
||||
} else {
|
||||
/* disble clock. so no update */
|
||||
/* disable clock. so no update */
|
||||
et = 0;
|
||||
}
|
||||
return et;
|
||||
|
||||
Reference in new issue
Block a user