linux/sound/soc/qcom
Srinivas Kandagatla 7aa09ff243
ASoC: q6routing: initialize data correctly
Some of the router data fields are left as default zeros which are
valid dai ids, so initialize these to invalid value of -1.

Without intializing these correctly get_session_from_id() can return
incorrect session resulting in not closing the opened copp and messing
up with the copp ref count.

Fixes: e3a33673e8 ("ASoC: qdsp6: q6routing: Add q6routing driver")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-09-03 12:17:32 +01:00
..
qdsp6 ASoC: q6routing: initialize data correctly 2018-09-03 12:17:32 +01:00
Kconfig ASoC: qcom: make common.c as proper module 2018-08-06 12:50:04 +01:00
Makefile ASoC: qcom: make common.c as proper module 2018-08-06 12:50:04 +01:00
apq8016_sbc.c treewide: Use struct_size() for devm_kmalloc() and friends 2018-06-06 11:15:43 -07:00
apq8096.c ASoC: apq8096: remove unused header files 2018-08-06 12:50:05 +01:00
common.c ASoC: qcom: Add support to parse common audio device nodes 2018-08-01 12:00:21 +01:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
lpass-apq8016.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-cpu.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-ipq806x.c ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
lpass-lpaif-reg.h ASoC: qcom: add generic bit masks for RDMA and WRDMA 2016-02-20 01:20:18 +09:00
lpass-platform.c ASoC: qcom: Use snd_pcm_stop_xrun() helper 2018-07-04 15:41:34 +01:00
lpass.h ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
sdm845.c ASoC: sdm845: remove unused header files 2018-08-06 12:50:06 +01:00
storm.c ASoC: qcom: Remove unnecessary function call 2017-08-21 17:14:00 +01:00