• P
    OMAP clock/hwmod: fix off-by-one errors · 6f8b7ff5
    Paul Walmsley 提交于
    Fix loop bailout off-by-one bugs reported by Juha Leppänen
    <juha_motorsportcom@luukku.com>.
    
    This second version incorporates comments from Russell King
    <linux@arm.linux.org.uk>.  A new macro, 'omap_test_timeout', has
    been created, with cleaner code, and existing code has been converted
    to use it.
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    Cc: Juha Leppänen <juha_motorsportcom@luukku.com>
    Cc: Russell King <linux@arm.linux.org.uk>
    6f8b7ff5
prcm.c 19.1 KB