Home
last modified time | relevance | path

Searched hist:b8110a87 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.cb8110a87 Fri Jul 13 10:05:57 CDT 2018 Dan Carpenter <dan.carpenter@oracle.com> ASoC: qdsp6: q6afe-dai: fix a range check in of_q6afe_parse_dai_data()

The main thing is that the data->priv[] array has AFE_PORT_MAX elements
so the > condition should be >=. But we may as well check for negative
values as well just to be safe.

Fixes: 24c4cbcfac09 ("ASoC: qdsp6: q6afe: Add q6afe dai driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
b8110a87 Fri Jul 13 10:05:57 CDT 2018 Dan Carpenter <dan.carpenter@oracle.com> ASoC: qdsp6: q6afe-dai: fix a range check in of_q6afe_parse_dai_data()

The main thing is that the data->priv[] array has AFE_PORT_MAX elements
so the > condition should be >=. But we may as well check for negative
values as well just to be safe.

Fixes: 24c4cbcfac09 ("ASoC: qdsp6: q6afe: Add q6afe dai driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>