diff options
author | Mark Brown <broonie@kernel.org> | 2018-08-08 17:32:10 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-08 17:32:10 +0100 |
commit | 35ef57a4190d4253b73720cf0402158eda0f1bc8 (patch) | |
tree | f7346839cbfe76beb8c09a6f0f6c5012cc28cff8 /sound/soc/qcom/qdsp6/q6routing.c | |
parent | 0a047f07525fecfa8f6fccc5d30afff7e816de8d (diff) | |
parent | 0717edbdfed61b4c1e8291140f78882d3a481042 (diff) | |
download | linux-next-35ef57a4190d4253b73720cf0402158eda0f1bc8.tar.gz |
Merge branch 'asoc-4.18' into asoc-4.19 wmadsp dep
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6routing.c')
-rw-r--r-- | sound/soc/qcom/qdsp6/q6routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/qdsp6/q6routing.c b/sound/soc/qcom/qdsp6/q6routing.c index 1d33b00e5b44..dc94c5c53788 100644 --- a/sound/soc/qcom/qdsp6/q6routing.c +++ b/sound/soc/qcom/qdsp6/q6routing.c @@ -926,7 +926,7 @@ static int routing_hw_params(struct snd_pcm_substream *substream, else path_type = ADM_PATH_LIVE_REC; - if (be_id > AFE_MAX_PORTS) + if (be_id >= AFE_MAX_PORTS) return -EINVAL; session = &data->port_data[be_id]; |