• Soren Brinkmann's avatar
    clk: Fix notifier documentation · 5324fda7
    Soren Brinkmann authored
    Contradicting to documenation, the notifier callbacks do receive
    the original clock rate in struct clk_notifier_data.old_rate and the new
    frequency struct clk_notifier_data.new_rate, independent of the
    notification reason.
    
    This behavior also seems to make more sense, since callbacks can use the
    same code to deterimine whether clocks are scaled up or down. Something
    which would not even possible in the post-rate-change case if the
    behavior was as documented.
    Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
    Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
    5324fda7
clk.c 60.8 KB