diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-06-16 23:21:26 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2020-06-18 14:23:11 +0200 |
commit | a59052d2749b678cb7c32ef25d3d47cc451d5f34 (patch) | |
tree | bb878680129c833e61227d34ba3a6b130c425e7b /drivers/gpu/drm/etnaviv | |
parent | drm/etnaviv: Don't ignore errors on getting clocks (diff) | |
download | linux-a59052d2749b678cb7c32ef25d3d47cc451d5f34.tar.xz linux-a59052d2749b678cb7c32ef25d3d47cc451d5f34.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 |
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); |