Skip to content

Commit

Permalink
mali/midgard: fix mali regulator name for Odroid XU3/4
Browse files Browse the repository at this point in the history
Signed-off-by: memeka <mihailescu2m@gmail.com>
  • Loading branch information
mihailescu2m committed Nov 27, 2019
1 parent 1b96988 commit 45e9449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/arm/midgard/mali_kbase_core_linux.c
Expand Up @@ -3876,7 +3876,7 @@ static int power_control_init(struct platform_device *pdev)

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 0)) && defined(CONFIG_OF) \
&& defined(CONFIG_REGULATOR)
kbdev->regulator = regulator_get_optional(kbdev->dev, "mali");
kbdev->regulator = regulator_get_optional(kbdev->dev, "vdd_g3d");
if (IS_ERR_OR_NULL(kbdev->regulator)) {
err = PTR_ERR(kbdev->regulator);
kbdev->regulator = NULL;
Expand Down

0 comments on commit 45e9449

Please sign in to comment.