Skip to content

Commit a59052d

Browse files
lkundraklynxeye-dev
authored andcommitted
drm/etnaviv: Make the "core" clock mandatory
It is always present. It was documented as mandatory prior to commit 90aeca8 ("dt-bindings: display: Convert etnaviv to json-schema"). Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent f76fc5f commit a59052d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ static int etnaviv_gpu_platform_probe(struct platform_device *pdev)
17961796
if (IS_ERR(gpu->clk_bus))
17971797
return PTR_ERR(gpu->clk_bus);
17981798

1799-
gpu->clk_core = devm_clk_get_optional(&pdev->dev, "core");
1799+
gpu->clk_core = devm_clk_get(&pdev->dev, "core");
18001800
DBG("clk_core: %p", gpu->clk_core);
18011801
if (IS_ERR(gpu->clk_core))
18021802
return PTR_ERR(gpu->clk_core);

0 commit comments

Comments
 (0)