commit | a548ca060b8d15afa1782703a9e74a82c74967b7 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Oct 10 10:50:11 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Oct 11 12:25:23 2012 -0700 |
tree | f4b0ccd2fdf46077887cea74cb397cf4dac6807b | |
parent | 6d63a271a12b1fd5ddee7a9ecee408e14c115569 [diff] |
msm: clock-local: Avoid potential NULL dereference in branch_disable_reg() It's possible that ctl_reg is NULL here if en_mask is non-zero. Check for a non-NULL ctl_reg pointer to avoid dereferencing a NULL pointer. Change-Id: I623ff489973a566e9ce6856513e030ee928db0ba Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>