summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-06-16 23:21:26 +0200
committerLucas Stach <l.stach@pengutronix.de>2020-06-18 14:23:11 +0200
commita59052d2749b678cb7c32ef25d3d47cc451d5f34 (patch)
treebb878680129c833e61227d34ba3a6b130c425e7b
parentf76fc5ff9a6533d6eadb8521bf60bf7b1cf293b9 (diff)
downloadlinux-a59052d2749b678cb7c32ef25d3d47cc451d5f34.tar.gz
linux-a59052d2749b678cb7c32ef25d3d47cc451d5f34.tar.xz
drm/etnaviv: Make the "core" clock mandatory
It is always present. It was documented as mandatory prior to commit 90aeca875f8a ("dt-bindings: display: Convert etnaviv to json-schema"). Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index f303172c091d..798fdbc8ecdb 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@ -1796,7 +1796,7 @@ static int etnaviv_gpu_platform_probe(struct platform_device *pdev)
if (IS_ERR(gpu->clk_bus))
return PTR_ERR(gpu->clk_bus);
- gpu->clk_core = devm_clk_get_optional(&pdev->dev, "core");
+ gpu->clk_core = devm_clk_get(&pdev->dev, "core");
DBG("clk_core: %p", gpu->clk_core);
if (IS_ERR(gpu->clk_core))
return PTR_ERR(gpu->clk_core);