lkml.org 
[lkml]   [2017]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 4/20] clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT
    On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard
    <maxime.ripard@free-electrons.com> wrote:
    > The current code only rely on the parent to change its rate in the case
    > where CLK_SET_RATE_PARENT is set.
    >
    > However, some clock rates might be obtained only through a modification of
    > the parent and the clock divider. Just rely on the round rate of the clocks
    > to give us the best computation that might be achieved for a given rate.
    >
    > round_rate functions now need to honor CLK_SET_RATE_PARENT, but either the
    > functions already do that if they modify the parent, or don't modify the
    > praents at all.
    >
    > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

    Acked-by: Chen-Yu Tsai <wens@csie.org>

    \
     
     \ /
      Last update: 2017-05-04 05:24    [W:4.175 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site