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>
1 file changed