• Russell King's avatar
    [ARM] omap: arrange for clock recalc methods to return the rate · 8b9dbc16
    Russell King authored
    linux-omap source commit 33d000c99ee393fe2042f93e8422f94976d276ce
    introduces a way to "dry run" clock changes before they're committed.
    However, this involves putting logic to handle this into each and
    every recalc function, and unfortunately due to the caching, led to
    some bugs.
    
    Solve both of issues by making the recalc methods always return the
    clock rate for the clock, which the caller decides what to do with.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    8b9dbc16
clock24xx.c 21.9 KB