summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_batch_pool.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-03-02 09:19:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-03-08 11:01:52 -0500
commit041ab0a49482502bd138203fd1b4d529eab97fe4 (patch)
tree7f574137bdbb748b5dc57da48c6a4c1fd6fc74b9 /drivers/gpu/drm/i915/i915_gem_batch_pool.c
parentc437b9d6c093c83c485a40c0f9e0d2cd98b36d38 (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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_batch_pool.c')
0 files changed, 0 insertions, 0 deletions