commit | 38ae225ab883bb5ebec5e1850cf60f5f0846a190 | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <benyxy@codeaurora.org> | Thu Jan 26 18:20:06 2017 -0800 |
committer | Banajit Goswami <bgoswami@codeaurora.org> | Sat Apr 01 14:04:53 2017 -0700 |
tree | 299a8c6cc6600f092f34861ac5d70382caf9c57d | |
parent | 7f504b802fcb057cc79134604aebecd1d945a343 [diff] |
ASoC: msm: qdsp6v2: Fix range check logic of port index The case of port index equals AFE_MAX_PORTS is not checked. Add this corner case to avoid wrong port number. CRs-Fixed: 1114578 Change-Id: I466cb7d87313e55e9e0bd08a7ab43f3ea36b8b9a Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>