commit | 11ba680eb6610d1691f175e49d75f27fb478df4d | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Mon Apr 11 16:23:05 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Apr 27 00:15:55 2016 -0700 |
tree | c91d7e93821dc70fd378012df5a5db959dfb299c | |
parent | 57a68e72bfc76c411621201b8f11821abdb50185 [diff] |
hal: fix crash due to null pointer deference media server crash observed randomly during bootup due to speaker protection thread started during bootup uses cached primary_output stream to configure codec backend, but the primary_output is not yet opened. Fix it by waiting for valid primary_output stream before proceeding for speaker protection calibration processing. Change-Id: I879b336f8a7fac15cfbbf7d089bb2d19083d8827 CRs-fixed: 1001002