• R
    [ARM] omap: arrange for clock recalc methods to return the rate · 8b9dbc16
    Russell King 提交于
    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: NRussell King <rmk+kernel@arm.linux.org.uk>
    8b9dbc16
clock.c 23.4 KB