• J
    ARM: OMAP: Fix spurious interrupts when using timer match feature · 991ad16a
    Jon Hunter 提交于
    The OMAP DMTIMERs can generate an interrupt when the timer counter value
    matches the value stored in the timer's match register. When using this
    feature spurious interrupts were seen, because the compare logic is being
    enabled before the match value is loaded and according to the documentation
    the match value must be loaded before the compare logic is enable.
    
    The reset value for the timer counter and match registers is 0 and hence,
    by enabling the compare logic before the actual match value is loaded a
    spurious interrupt can be generated as the reset values match.
    Signed-off-by: NJon Hunter <jon-hunter@ti.com>
    Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
    991ad16a
dmtimer.c 22.1 KB