mirror of
https://github.com/armbian/build.git
synced 2025-08-18 21:11:02 +02:00
* Recycling of megous v5.16.4 patches The patches were sorted as far as possible. Some patches are renamed according to their place of application. The length of the patch name has been changed to improve readability using the `git format-patch --filename-max-length=75` method. The folder containing the patches will have the name `patches.name` and the corresponding file `series.name` for the convenience of processing and moving them upstream. But the control file remains `series.conf`. Signed-off-by: The-going <48602507+The-going@users.noreply.github.com> * Add a series of armbian patches for 5.16 Signed-off-by: The-going <48602507+The-going@users.noreply.github.com> * Remove patches whose fixes are already in the kernel Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
56 lines
1.5 KiB
Diff
56 lines
1.5 KiB
Diff
From 8b4df61fc8990037fc310789c0ea1441c5f5204c Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Mon, 30 Dec 2019 12:39:31 -0600
|
|
Subject: [PATCH 099/446] Revert "clk: qcom: Support 'protected-clocks'
|
|
property"
|
|
|
|
Now that protected-clocks is handled in the clk core, this
|
|
driver-specific implementation is redundant.
|
|
|
|
This reverts commit b181b3b801da8893c8eb706e448dd5111b02de60.
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
drivers/clk/qcom/common.c | 18 ------------------
|
|
1 file changed, 18 deletions(-)
|
|
|
|
diff --git a/drivers/clk/qcom/common.c b/drivers/clk/qcom/common.c
|
|
index 75f09e6e0..8e94e425e 100644
|
|
--- a/drivers/clk/qcom/common.c
|
|
+++ b/drivers/clk/qcom/common.c
|
|
@@ -204,22 +204,6 @@ int qcom_cc_register_sleep_clk(struct device *dev)
|
|
}
|
|
EXPORT_SYMBOL_GPL(qcom_cc_register_sleep_clk);
|
|
|
|
-/* Drop 'protected-clocks' from the list of clocks to register */
|
|
-static void qcom_cc_drop_protected(struct device *dev, struct qcom_cc *cc)
|
|
-{
|
|
- struct device_node *np = dev->of_node;
|
|
- struct property *prop;
|
|
- const __be32 *p;
|
|
- u32 i;
|
|
-
|
|
- of_property_for_each_u32(np, "protected-clocks", prop, p, i) {
|
|
- if (i >= cc->num_rclks)
|
|
- continue;
|
|
-
|
|
- cc->rclks[i] = NULL;
|
|
- }
|
|
-}
|
|
-
|
|
static struct clk_hw *qcom_cc_clk_hw_get(struct of_phandle_args *clkspec,
|
|
void *data)
|
|
{
|
|
@@ -282,8 +266,6 @@ int qcom_cc_really_probe(struct platform_device *pdev,
|
|
cc->rclks = rclks;
|
|
cc->num_rclks = num_clks;
|
|
|
|
- qcom_cc_drop_protected(dev, cc);
|
|
-
|
|
for (i = 0; i < num_clk_hws; i++) {
|
|
ret = devm_clk_hw_register(dev, clk_hws[i]);
|
|
if (ret)
|
|
--
|
|
2.31.1
|
|
|