commit | 720a6ce3cedf664834df436c343ea2ccc26272fa | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Thu Mar 03 09:23:48 2016 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 08 11:01:54 2016 -0500 |
tree | 0901ca3b80e1e26e7a4ed1753e17f26da792a51c | |
parent | 98822a2f748cf400a1fa08eabd0ccf6baa146a92 [diff] |
drm/amd/amdgpu: Make afmt_init cleanup if alloc fails (DCEv10) Make the function free memory and return an error code if the allocation fails. 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>