From bcee13f00091d692477df1f7128ac74879fc9e80 Mon Sep 17 00:00:00 2001 From: CM2003 Date: Wed, 7 Oct 2026 01:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20mali=20=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E6=97=B6=E7=A9=BA=E6=8C=87=E9=92=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - clk-higpu.c 里 of_find_compatible_node 的字符串与 dts 不一致 - 统一 compatible 为 hisilicon,hi3798mv310-volt - 解决 modprobe mali 时 hisi_gpu_clk_enable 空指针 Oops --- .../linux-4.4.y/drivers/hisilicon/clk/hi3798mv310/clk-higpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/kernel/linux-4.4.y/drivers/hisilicon/clk/hi3798mv310/clk-higpu.c b/source/kernel/linux-4.4.y/drivers/hisilicon/clk/hi3798mv310/clk-higpu.c index 482e01b32..0fe2560d8 100755 --- a/source/kernel/linux-4.4.y/drivers/hisilicon/clk/hi3798mv310/clk-higpu.c +++ b/source/kernel/linux-4.4.y/drivers/hisilicon/clk/hi3798mv310/clk-higpu.c @@ -218,7 +218,7 @@ static unsigned long hisi_gpu_clk_get_rate(struct clk_hw *hw) static void hisi_gpu_pmc_node_create(void) { - pmc_node = of_find_compatible_node(NULL, NULL, "hisilicon,hi3798mv200-volt"); + pmc_node = of_find_compatible_node(NULL, NULL, "hisilicon,hi3798mv310-volt"); if (NULL == pmc_node) { CLOCK_ERROR_INFO(); return;