diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2016-12-01 18:13:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:03:01 -0400 |
commit | 9a70eba7f2c65b408ee56c7219b0cb4ae588b2bc (patch) | |
tree | 8869df81354e51392851c471e9c0abfcca805963 /drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | |
parent | e9c58bb439bce021da205df09057fe6908ff54c5 (diff) |
drm/amd/display: consolidate dce8-11.2 display clock code
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/dce/dce_audio.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c index dc44053e8575..2749c8fa4f1f 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c @@ -888,7 +888,9 @@ static const struct audio_funcs funcs = { void dce_aud_destroy(struct audio **audio) { - dm_free(*audio); + struct dce_audio *aud = DCE_AUD(*audio); + + dm_free(aud); *audio = NULL; } |