drm/msm/adreno: slight init order cleanup
authorRob Clark <robdclark@gmail.com>
Fri, 31 Oct 2014 15:50:55 +0000 (11:50 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 16 Nov 2014 19:22:42 +0000 (14:22 -0500)
commit0122f96fc2c1f911cb5b4db0a6dc98ac367e7e44
tree8091db85bef846a44943b98d2d20ed66d18127f6
parentb7bbd6406ae82f4faa8a5e571866e44f4c49255d
drm/msm/adreno: slight init order cleanup

Move anything that can fail after call to base class msm_gpu_init().
This way, if we fail, active_list has already been initialized so we
don't trip 'WARN_ON(!list_empty(&gpu->active_list))' in
msm_gpu_cleanup().

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c