summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
index 7d1dfa8f3a75..4fb61470f118 100644
--- a/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
+++ b/sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c
@@ -9928,7 +9928,7 @@ static struct platform_driver msm_routing_pcm_driver = {
int msm_routing_check_backend_enabled(int fedai_id)
{
int i;
- if (fedai_id >= MSM_FRONTEND_DAI_MM_MAX_ID) {
+ if (fedai_id > MSM_FRONTEND_DAI_MM_MAX_ID) {
/* bad ID assigned in machine driver */
pr_err("%s: bad MM ID\n", __func__);
return 0;