mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
28 lines
893 B
Diff
28 lines
893 B
Diff
From 5011ceb0da47f7c3d54d20b45b7df884e6e92ac5 Mon Sep 17 00:00:00 2001
|
|
From: Peter Geis <pgwipeout@gmail.com>
|
|
Date: Sun, 20 Feb 2022 07:58:38 -0500
|
|
Subject: [PATCH] clk: rockchip: rk3568: fix reset handler
|
|
|
|
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
|
|
---
|
|
drivers/clk/rockchip/clk_rk3568.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/clk/rockchip/clk_rk3568.c
|
|
+++ b/drivers/clk/rockchip/clk_rk3568.c
|
|
@@ -14,6 +14,7 @@
|
|
#include <asm/arch-rockchip/clock.h>
|
|
#include <asm/arch-rockchip/hardware.h>
|
|
#include <asm/io.h>
|
|
+#include <dm/device-internal.h>
|
|
#include <dm/lists.h>
|
|
#include <dt-bindings/clock/rk3568-cru.h>
|
|
|
|
@@ -2934,6 +2935,7 @@ static int rk3568_clk_bind(struct udevice *dev)
|
|
glb_srst_fst);
|
|
priv->glb_srst_snd_value = offsetof(struct rk3568_cru,
|
|
glb_srsr_snd);
|
|
+ dev_set_priv(sys_child, priv);
|
|
}
|
|
|
|
#if CONFIG_IS_ENABLED(RESET_ROCKCHIP)
|