1. 15 1月, 2010 2 次提交
    • B
      ARM: S5PC1XX: Move to using generic clksrc_clk for clock code · 45426468
      Ben Dooks 提交于
      Remove the copy of the old s3c64xx struct clksrc_clk and use the new one
      in plat-samsung. This eliminates a bug in the set_parent() call where it
      failed to set the clk->parent after sucesfully updating the clock.
      
      The script that was used to automate much of the process will be supplied
      seperately.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      45426468
    • B
      ARM: SAMSUNG: Reduce size of struct clk. · b3bf41be
      Ben Dooks 提交于
      Reduce the size of struct clk by 12 bytes and make defining clocks with
      common implementation functions easier by moving the set_rate, get_rate,
      round_rate and set_parent calls into a new structure called 'struct clk_ops'
      and using that instead.
      
      This change does make a few clocks larger as they need their own clk_ops,
      but this is outweighed by the number of clocks with either no ops or having
      a common set of ops.
      
      Update all the users of this.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      b3bf41be
  2. 01 12月, 2009 2 次提交
  3. 17 8月, 2009 1 次提交