commit | 3bd4bbfd7c1f453707381f428c22277adcbcd005 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Jul 01 12:06:37 2013 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Jul 01 18:50:54 2013 -0700 |
tree | ed42900e26ae470d7fc6c0ad721b4c6b671c5003 | |
parent | 8e3224917e4ec6fcec49376d7da1d25991a7a95d [diff] |
power: qpnp-bms: request interrupts at the end of probe The current driver requests interrupts before it initializes other data structures. This creates NULL pointer exceptions if an interrupt triggers before the data structures are initialized. Move requesting interrupts towards the end of the probe function, after data structures are initialized. CRs-Fixed: 506597 Change-Id: I94a524a0a1b8a5fa9372e414bcf36d8448fc1e4a Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>