diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2016-03-03 09:45:29 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-08 11:01:56 -0500 |
commit | ff923479ee9b6ba9244398c7e97878fa37b5343c (patch) | |
tree | 7c4391d473e006fcc774b738fa2f36e23eadab40 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |
parent | 74c1e842793fcc470413b1f7d14e2e74e1e8240b (diff) |
drm/amd/amdgpu: make afmt_init cleanup if alloc fails (DCEv8)
If the allocation fails free memory and return error code.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions