lkml.org 
[lkml]   [2015]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] clk: divider: don't set_rate with CLK_DIVIDER_READ_ONLY flag
    Hi Stephen,

    On 05/13/2015 08:59 AM, Stephen Boyd wrote:
    > On 04/07, Joonyoung Shim wrote:
    >> Even if use CLK_DIVIDER_READ_ONLY flag, divider setting can be changed
    >> by set_rate callback. Don't change divider setting from set_rate
    >> callback of divider with CLK_DIVIDER_READ_ONLY flag.
    >>
    >> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
    >> ---
    >
    > Is the rate actually changing? Or is it just a problem that we
    > may be writing the register to the same value it already is?
    >

    If rate and parant_rate are different, it can write the register to
    different value. Even if the value is same but i think it's unnecessary
    to re-write the register.

    Thanks.


    \
     
     \ /
      Last update: 2015-05-15 04:01    [W:2.505 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site