commit | 394350ebeb772cb46692f084bf66308fc2d7e5c6 | [log] [tgz] |
---|---|---|
author | Ping Li <quicpingli@codeaurora.org> | Wed Sep 04 16:56:01 2013 -0400 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Sep 13 11:13:09 2013 -0700 |
tree | 4acf4bcc1e14bec04ced220723e86f8a6ccfbaeb | |
parent | b21c8d3f1b0c7f13e2a8258c5b5069496c9b506c [diff] |
msm: mdss: Reorder code to avoid null pointer dereference Set mdss_res to NULL after mdss_mdp_pp_term function in err case inside mdss_mdp_probe function. This change can avoid null pointer dereference if err occurs during mdss_mdp_probe. Change-Id: I90b289e03f2711d45dcb80d9fa6eeb78b447cfd4 Signed-off-by: Ping Li <quicpingli@codeaurora.org>