misc: qcom: qdsp6v2: Add range check in function aac_in_ioctl_shared

Add range check for cfg->sample_rate to prevent the user space from
providing an invalid sample rate.

CRs-Fixed: 1108109
Change-Id: I17ccda0901aa4ad84d6e2f78679d71aa327f42eb
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
1 file changed