commit | 041ab0a49482502bd138203fd1b4d529eab97fe4 | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Wed Mar 02 09:19:57 2016 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 08 11:01:52 2016 -0500 |
tree | 7f574137bdbb748b5dc57da48c6a4c1fd6fc74b9 | |
parent | c437b9d6c093c83c485a40c0f9e0d2cd98b36d38 [diff] |
drm/amd/amdgpu: Make afmt_init() cleanup if alloc fails (DCEv11) Updated DCEv11 afmt_init to cleanup if any kzalloc fails and then return an error code. Don't continue initializing the audio stack in that case. 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>