• Kevin Hilman's avatar
    gpio/omap: _clear_gpio_irqbank: fix flushing of posted write · df3c8517
    Kevin Hilman authored
    In commit 78a1a6d3 (ARM: OMAP4: Update
    the GPIO support) braces were mistakenly added to included the
    register read-back inside the cpu_is_* checking.
    
    Remove the braces, ensuring that a register read-back is done, even
    when the IRQSTATUS2 register is not written.
    
    Note that the register read-back might be IRQSTATUS1 or IRQSTATUS2
    depending on the CPU, but a read-back of any register in that region
    will cause a flush of the posted writes.
    Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
    df3c8517
gpio-omap.c 49.1 KB