commit | 14245984e7137b437c438bf3ee5fef5d03152a4f | [log] [tgz] |
---|---|---|
author | Dhananjay Kumar <dhakumar@codeaurora.org> | Mon Jan 16 20:21:00 2017 +0530 |
committer | Dhananjay Kumar <dhakumar@codeaurora.org> | Mon Jan 16 20:49:01 2017 +0530 |
tree | a269f68f6daaf3771eb7d26b7b0e076206c69e8c | |
parent | 284a7f4446f2a863cab443996886d53af8ea377c [diff] |
hal: fix segfalut from call to send audio calibration - In case of speaker protection, capture usecase is not having valid input stream associated with it. Hence attempt to access stream info while sending calibration may result in segfaults. - Add check in send calibration, to use stream info only if its available, and fallback to defaults if stream is not set. Change-Id: I880f8c66e6cba65947846dd2fef74a74be125aa9