linux/sound/soc/mxs
Alexey Khoroshilov e1b790a872 SoC: mxs-saif: check validity of ids in mxs_saif_probe()
There is a check for validity of one of ids in mxs_saif_probe(),
while array dereferece is made by the other id.

The patch adds the check for the second saif id.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-10-26 11:14:32 +01:00
..
Kconfig ASoC: mxs: Depends on COMMON_CLK 2013-07-22 14:19:21 +01:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
mxs-pcm.c ASoC: mxs: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag 2014-01-07 11:41:36 +00:00
mxs-pcm.h ASoC: mxs: Use devm_snd_dmaengine_pcm_register() 2013-12-02 11:49:36 +00:00
mxs-saif.c SoC: mxs-saif: check validity of ids in mxs_saif_probe() 2016-10-26 11:14:32 +01:00
mxs-saif.h ASoC: mxs-saif: Do not store the irq number in the private structure 2014-12-30 16:44:53 +00:00
mxs-sgtl5000.c ASoC: mxs-sgtl5000: Convert to devm_snd_soc_register_card 2015-09-14 18:33:17 +01:00