Loading drivers/gpu/msm/kgsl_gmu.c +6 −1 Original line number Diff line number Diff line Loading @@ -1354,11 +1354,16 @@ static int gmu_probe(struct kgsl_device *device, struct device_node *node) if (gmu == NULL) return -ENOMEM; gmu->pdev = of_find_device_by_node(node); if (!gmu->pdev) { kfree(gmu); return -EINVAL; } device->gmu_core.ptr = (void *)gmu; hfi = &gmu->hfi; gmu->load_mode = TCM_BOOT; gmu->pdev = of_find_device_by_node(node); of_dma_configure(&gmu->pdev->dev, node, true); /* Set up GMU regulators */ Loading Loading
drivers/gpu/msm/kgsl_gmu.c +6 −1 Original line number Diff line number Diff line Loading @@ -1354,11 +1354,16 @@ static int gmu_probe(struct kgsl_device *device, struct device_node *node) if (gmu == NULL) return -ENOMEM; gmu->pdev = of_find_device_by_node(node); if (!gmu->pdev) { kfree(gmu); return -EINVAL; } device->gmu_core.ptr = (void *)gmu; hfi = &gmu->hfi; gmu->load_mode = TCM_BOOT; gmu->pdev = of_find_device_by_node(node); of_dma_configure(&gmu->pdev->dev, node, true); /* Set up GMU regulators */ Loading