修复 mali 加载时空指针
- clk-higpu.c 里 of_find_compatible_node 的字符串与 dts 不一致 - 统一 compatible 为 hisilicon,hi3798mv310-volt - 解决 modprobe mali 时 hisi_gpu_clk_enable 空指针 Oops
This commit is contained in:
1 parent
85195d18c0
commit
bcee13f000
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user