Christophe JAILLET 673f58f62c ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
find_first_zero_bit() returns MAX_COPPS_PER_PORT at max here.
So 'idx' should be tested with ">=" or the test can't match.

Fixes: 7b20b2be51e1 ("ASoC: qdsp6: q6adm: Add q6adm driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0fca3271649736053eb9649d87e1ca01b056be40.1658394124.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-07-21 13:38:55 +01:00
..
2021-09-03 15:33:47 -07:00
2022-05-30 10:56:18 -07:00
2022-05-30 10:56:18 -07:00
2022-06-30 10:56:27 +01:00
2022-03-23 15:11:12 -07:00
2022-01-14 18:50:52 -05:00