commit | ec6cd7d544e57642499b3329daf7e2dd138a07b9 | [log] [tgz] |
---|---|---|
author | Harshdeep Dhatt <hdhatt@codeaurora.org> | Mon Nov 27 13:27:57 2017 -0700 |
committer | Harshdeep Dhatt <hdhatt@codeaurora.org> | Mon Nov 27 13:35:13 2017 -0700 |
tree | ccdf8e780a9106e1186adaf51560d8d62d72056b | |
parent | a81181397b9229d65d0d5cf4cf7c40ae1b543ae4 [diff] |
msm: kgsl: Fix context initialization sequence Re-order the preemption context initialization in order to avoid NULL pointer dereference if preemption_context_init fails. Also, correctly handle the failure by removing the put/kfree as the context will be destroyed in the detach sequence itself. Change-Id: Ic8b373da040d39bc412ed54a21f067bd51685f6a Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>