commit | bdda2f216b22d5e48676431ebdcf15213a70eb0b | [log] [tgz] |
---|---|---|
author | Aditya Bavanari <abavanar@codeaurora.org> | Wed Oct 19 15:02:05 2016 +0530 |
committer | Aditya Bavanari <abavanar@codeaurora.org> | Thu Oct 27 11:11:05 2016 +0530 |
tree | 2450414ebf6406e1dcd1a37f964223122991cfec | |
parent | a56824d7c4068db69bb38e0bfee63276806c173e [diff] |
hal: Fix for a native crash in select_devices In case of speaker protection, stream.in is not filled and hence when it tries to access stream.in->devices for spkr-vi-record usecase,crash occurs.In case of HDMI keep_alive usecase,stream.out is not filled. Add a null check before accessing stream.in and stream.out pointers. Change-Id: I5fafaa71d13ce234908dc2e24979d69a38435f62 CRs-Fixed: 1076923