Pull clk fixes from Stephen Boyd: "Two fixes for the NKMP clks on Allwinner SoCs, a locking fix for clkdev where we forgot to hold a lock while iterating a list that can change, and finally a build fix that adds some stubs for clk APIs that are used by devfreq drivers on platforms without the clk APIs" * tag 'clk-fixes-for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/clk/linux: clk: Add missing stubs for a few functions clkdev: Hold clocks_mutex while iterating clocks list clk: sunxi-ng: nkmp: Explain why zero width check is needed clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -811,6 +811,22 @@ static inline bool clk_has_parent(struct clk *clk, struct clk *parent) · 810 unmodified lines | |||
| 811 | return true; | 811 | return true; |
| 812 | } | 812 | } |
| 813 | 813 | ||
| 814 | static inline int clk_set_rate_range(struct clk *clk, unsigned long min, | ||
| 815 | unsigned long max) | ||
| 816 | { | ||
| 817 | return 0; | ||
| 818 | } | ||
| 819 | |||
| 820 | static inline int clk_set_min_rate(struct clk *clk, unsigned long rate) | ||
| 821 | { | ||
| 822 | return 0; | ||
| 823 | } | ||
| 824 | |||
| 825 | static inline int clk_set_max_rate(struct clk *clk, unsigned long rate) | ||
| 826 | { | ||
| 827 | return 0; | ||
| 828 | } | ||
| 829 | |||
| 814 | static inline int clk_set_parent(struct clk *clk, struct clk *parent) | 830 | static inline int clk_set_parent(struct clk *clk, struct clk *parent) |
| 815 | { | 831 | { |
| 816 | return 0; | 832 | return 0; |