commit | 92138f458fdef3c4c2f50bf6373f566497f3a974 | [log] [tgz] |
---|---|---|
author | Hareesh Gundu <hareeshg@codeaurora.org> | Mon May 13 20:25:53 2013 +0530 |
committer | Hareesh Gundu <hareeshg@codeaurora.org> | Mon May 13 20:38:58 2013 +0530 |
tree | 5c3a1a4fbdc47ebe3470beef610d90116ede576c | |
parent | b44a4b304e84c707484cf31f3beb554040be7c7e [diff] |
msm: kgsl: Add NULL check for next_event hook KGSL driver needs to check that the function pointer is not NULL before calling the hook. next_event is an optional function not implemented by the 2d core. This fix ensures that optional and unimplemented function will not invoked by the driver. Change-Id: I687b028260e3ec304d973c6a5bded0a8fdbfb73b Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>