Changeset 13dfda8f in mainline


Ignore:
Timestamp:
2013-07-21T21:24:13Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b9eaa00
Parents:
f8d3df3
Message:

amdm37x: Fix thinko in timer reset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/drivers/amdm37x/gpt.h

    rf8d3df3 r13dfda8f  
    218218        timer->regs->tiocp_cfg |= AMDM37x_GPT_TIOCP_CFG_SOFTRESET_FLAG;
    219219
    220         while (timer->regs->tistat & AMDM37x_GPT_TISTAT_RESET_DONE_FLAG);
     220        while (!(timer->regs->tistat & AMDM37x_GPT_TISTAT_RESET_DONE_FLAG));
    221221
    222222        /* Set autoreload */
Note: See TracChangeset for help on using the changeset viewer.