• Paul Walmsley's avatar
    OMAP clock/hwmod: fix off-by-one errors · 6f8b7ff5
    Paul Walmsley authored
    Fix loop bailout off-by-one bugs reported by Juha Leppänen
    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: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Juha Leppänen <juha_motorsportcom@luukku.com>
    Cc: Russell King <linux@arm.linux.org.uk>
cm.c 1.64 KB