summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
diff options
context:
space:
mode:
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>2016-11-30 11:03:37 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:02:48 -0400
commit5d6d185f32eb0cce16caff13e716d08b594a6046 (patch)
treec79d31ccd6d757fe885bdd72db495427edfd6478 /drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
parent1a687574a71f187dedcab3ac6012b0889c5a4e99 (diff)
drm/amd/display: restyle display clock calls part 2
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
index 70616019ae47..8792c4ed6e65 100644
--- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
@@ -734,7 +734,9 @@ static void destruct(struct dce110_resource_pool *pool)
}
if (pool->base.display_clock != NULL) {
- dal_display_clock_destroy(&pool->base.display_clock);
+ pool->base.display_clock->funcs->destroy(
+ &pool->base.display_clock);
+ pool->base.display_clock = NULL;
}
if (pool->base.irqs != NULL) {