diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-20 19:42:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-20 19:42:36 -0500 |
commit | bfc7249cc293deac8f2678b7ec3d2407b68c0a33 (patch) | |
tree | 6a73d533cc72fbc583ca1af46defe7d3c26d2751 /arch/mips | |
parent | a4e1328a9d20ccf4a9e5a19fce172e6deb2a33e2 (diff) | |
parent | f1e9203e2366164b832d8a6ce10134de8c575178 (diff) |
Merge tag 'clk-for-linus-3.19' of git://git.linaro.org/people/mike.turquette/linux
Pull clk framework updates from Mike Turquette:
"This is much later than usual due to several last minute bugs that had
to be addressed. As usual the majority of changes are new drivers and
modifications to existing drivers. The core recieved many fixes along
with the groundwork for several large changes coming in the future
which will better parition clock providers from clock consumers"
* tag 'clk-for-linus-3.19' of git://git.linaro.org/people/mike.turquette/linux: (86 commits)
clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated
ARM: OMAP3: clock: fix boot breakage in legacy mode
ARM: OMAP2+: clock: fix DPLL code to use new determine rate APIs
clk: Really fix deadlock with mmap_sem
clk: mmp: fix sparse non static symbol warning
clk: Change clk_ops->determine_rate to return a clk_hw as the best parent
clk: change clk_debugfs_add_file to take a struct clk_hw
clk: Don't expose __clk_get_accuracy
clk: Don't try to use a struct clk* after it could have been freed
clk: Remove unused function __clk_get_prepare_count
clk: samsung: Fix double add of syscore ops after driver rebind
clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi
clk: samsung: exynos4415: Fix build with PM_SLEEP disabled
clk: samsung: remove unnecessary inclusion of header files from clk.h
clk: samsung: remove unnecessary CONFIG_OF from clk.c
clk: samsung: Spelling s/bwtween/between/
clk: rockchip: Add support for the mmc clock phases using the framework
clk: rockchip: add bindings for the mmc clocks
clk: rockchip: rk3288 export i2s0_clkout for use in DT
clk: rockchip: use clock ID for DMC (memory controller) on rk3288
...
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/alchemy/common/clock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c index 203e4403c366..48a9dfc55b51 100644 --- a/arch/mips/alchemy/common/clock.c +++ b/arch/mips/alchemy/common/clock.c | |||
@@ -374,7 +374,7 @@ static long alchemy_calc_div(unsigned long rate, unsigned long prate, | |||
374 | 374 | ||
375 | static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate, | 375 | static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate, |
376 | unsigned long *best_parent_rate, | 376 | unsigned long *best_parent_rate, |
377 | struct clk **best_parent_clk, | 377 | struct clk_hw **best_parent_clk, |
378 | int scale, int maxdiv) | 378 | int scale, int maxdiv) |
379 | { | 379 | { |
380 | struct clk *pc, *bpc, *free; | 380 | struct clk *pc, *bpc, *free; |
@@ -453,7 +453,7 @@ static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate, | |||
453 | } | 453 | } |
454 | 454 | ||
455 | *best_parent_rate = bpr; | 455 | *best_parent_rate = bpr; |
456 | *best_parent_clk = bpc; | 456 | *best_parent_clk = __clk_get_hw(bpc); |
457 | return br; | 457 | return br; |
458 | } | 458 | } |
459 | 459 | ||
@@ -547,7 +547,7 @@ static unsigned long alchemy_clk_fgv1_recalc(struct clk_hw *hw, | |||
547 | 547 | ||
548 | static long alchemy_clk_fgv1_detr(struct clk_hw *hw, unsigned long rate, | 548 | static long alchemy_clk_fgv1_detr(struct clk_hw *hw, unsigned long rate, |
549 | unsigned long *best_parent_rate, | 549 | unsigned long *best_parent_rate, |
550 | struct clk **best_parent_clk) | 550 | struct clk_hw **best_parent_clk) |
551 | { | 551 | { |
552 | return alchemy_clk_fgcs_detr(hw, rate, best_parent_rate, | 552 | return alchemy_clk_fgcs_detr(hw, rate, best_parent_rate, |
553 | best_parent_clk, 2, 512); | 553 | best_parent_clk, 2, 512); |
@@ -679,7 +679,7 @@ static unsigned long alchemy_clk_fgv2_recalc(struct clk_hw *hw, | |||
679 | 679 | ||
680 | static long alchemy_clk_fgv2_detr(struct clk_hw *hw, unsigned long rate, | 680 | static long alchemy_clk_fgv2_detr(struct clk_hw *hw, unsigned long rate, |
681 | unsigned long *best_parent_rate, | 681 | unsigned long *best_parent_rate, |
682 | struct clk **best_parent_clk) | 682 | struct clk_hw **best_parent_clk) |
683 | { | 683 | { |
684 | struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); | 684 | struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); |
685 | int scale, maxdiv; | 685 | int scale, maxdiv; |
@@ -898,7 +898,7 @@ static int alchemy_clk_csrc_setr(struct clk_hw *hw, unsigned long rate, | |||
898 | 898 | ||
899 | static long alchemy_clk_csrc_detr(struct clk_hw *hw, unsigned long rate, | 899 | static long alchemy_clk_csrc_detr(struct clk_hw *hw, unsigned long rate, |
900 | unsigned long *best_parent_rate, | 900 | unsigned long *best_parent_rate, |
901 | struct clk **best_parent_clk) | 901 | struct clk_hw **best_parent_clk) |
902 | { | 902 | { |
903 | struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); | 903 | struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); |
904 | int scale = c->dt[2] == 3 ? 1 : 2; /* au1300 check */ | 904 | int scale = c->dt[2] == 3 ? 1 : 2; /* au1300 check */ |