diff options
author | John Audia <therealgraysky@proton.me> | 2023-03-12 10:03:16 -0400 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-03-27 18:58:34 +0200 |
commit | 24d84a13a41008c1feb906a5ffc0da74e00275f5 (patch) | |
tree | 0f990b18d0a771df05e435330fd6a8b7b5f3bacf /target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch | |
parent | 36bf158b47b6b013fb3f68aa4e2bf2ffc90bb9b0 (diff) | |
download | upstream-24d84a13a41008c1feb906a5ffc0da74e00275f5.tar.gz upstream-24d84a13a41008c1feb906a5ffc0da74e00275f5.tar.bz2 upstream-24d84a13a41008c1feb906a5ffc0da74e00275f5.zip |
kernel: bump 5.10 to 5.10.173
Manually rebased:
ramips/patches-5.10/810-uvc-add-iPassion-iP2970-support.patch
All other patches automatically rebased.
Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit d4aad642ff80750ec16a58058eb6da718e2129cd)
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch b/target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch index c4d44a8a7c..be22f7ec28 100644 --- a/target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch +++ b/target/linux/bcm27xx/patches-5.10/950-0537-clk-Introduce-a-clock-request-API.patch @@ -75,7 +75,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> /*** runtime pm ***/ static int clk_pm_runtime_get(struct clk_core *core) { -@@ -1430,10 +1438,14 @@ unsigned long clk_hw_round_rate(struct c +@@ -1441,10 +1449,14 @@ unsigned long clk_hw_round_rate(struct c { int ret; struct clk_rate_request req; @@ -90,7 +90,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> ret = clk_core_round_rate_nolock(hw->core, &req); if (ret) return 0; -@@ -1454,6 +1466,7 @@ EXPORT_SYMBOL_GPL(clk_hw_round_rate); +@@ -1465,6 +1477,7 @@ EXPORT_SYMBOL_GPL(clk_hw_round_rate); long clk_round_rate(struct clk *clk, unsigned long rate) { struct clk_rate_request req; @@ -98,7 +98,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> int ret; if (!clk) -@@ -1467,6 +1480,9 @@ long clk_round_rate(struct clk *clk, uns +@@ -1478,6 +1491,9 @@ long clk_round_rate(struct clk *clk, uns clk_core_get_boundaries(clk->core, &req.min_rate, &req.max_rate); req.rate = rate; @@ -108,7 +108,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> ret = clk_core_round_rate_nolock(clk->core, &req); if (clk->exclusive_count) -@@ -1934,6 +1950,7 @@ static struct clk_core *clk_calc_new_rat +@@ -1945,6 +1961,7 @@ static struct clk_core *clk_calc_new_rat unsigned long new_rate; unsigned long min_rate; unsigned long max_rate; @@ -116,7 +116,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> int p_index = 0; long ret; -@@ -1948,6 +1965,9 @@ static struct clk_core *clk_calc_new_rat +@@ -1959,6 +1976,9 @@ static struct clk_core *clk_calc_new_rat clk_core_get_boundaries(core, &min_rate, &max_rate); @@ -126,7 +126,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> /* find the closest rate and parent clk/rate */ if (clk_core_can_round(core)) { struct clk_rate_request req; -@@ -2152,6 +2172,7 @@ static unsigned long clk_core_req_round_ +@@ -2163,6 +2183,7 @@ static unsigned long clk_core_req_round_ { int ret, cnt; struct clk_rate_request req; @@ -134,7 +134,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> lockdep_assert_held(&prepare_lock); -@@ -2166,6 +2187,9 @@ static unsigned long clk_core_req_round_ +@@ -2177,6 +2198,9 @@ static unsigned long clk_core_req_round_ clk_core_get_boundaries(core, &req.min_rate, &req.max_rate); req.rate = req_rate; @@ -144,7 +144,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> ret = clk_core_round_rate_nolock(core, &req); /* restore the protection */ -@@ -2259,6 +2283,9 @@ int clk_set_rate(struct clk *clk, unsign +@@ -2270,6 +2294,9 @@ int clk_set_rate(struct clk *clk, unsign ret = clk_core_set_rate_nolock(clk->core, rate); @@ -154,7 +154,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> if (clk->exclusive_count) clk_core_rate_protect(clk->core); -@@ -2425,6 +2452,99 @@ int clk_set_max_rate(struct clk *clk, un +@@ -2436,6 +2463,99 @@ int clk_set_max_rate(struct clk *clk, un EXPORT_SYMBOL_GPL(clk_set_max_rate); /** @@ -254,7 +254,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech> * clk_get_parent - return the parent of a clk * @clk: the clk whose parent gets returned * -@@ -3874,6 +3994,7 @@ __clk_register(struct device *dev, struc +@@ -3885,6 +4005,7 @@ __clk_register(struct device *dev, struc goto fail_parents; INIT_HLIST_HEAD(&core->clks); |