linux/sound/soc/qcom/qdsp6
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
..
Makefile ASoC: qdsp6: q6asm: Add q6asm dai driver 2018-05-21 16:43:02 +01:00
q6adm.c ASoC: qdsp6: q6adm: use of_platform_populate/depopulate() 2018-06-26 15:39:41 +01:00
q6adm.h ASoC: qdsp6: q6adm: Add q6adm driver 2018-05-21 16:40:24 +01:00
q6afe-dai.c Merge branch 'asoc-4.18' into asoc-4.19 wmadsp dep 2018-08-08 17:32:10 +01:00
q6afe.c ASoC: qdsp6: q6afe: Add missing slimbus capture ports 2018-07-04 15:41:37 +01:00
q6afe.h ASoC: qdsp6: qdafe: add support to tdm ports 2018-05-29 15:34:23 +01:00
q6asm-dai.c Merge branch 'asoc-4.18' into asoc-4.19 wmadsp dep 2018-08-08 17:32:10 +01:00
q6asm.c ASoC: qdsp6: q6asm: remove unused struct q6asm member 2018-06-26 15:41:55 +01:00
q6asm.h ASoC: qdsp6: q6asm: Add support to audio stream apis 2018-05-21 16:41:24 +01:00
q6core.c
q6core.h
q6dsp-common.c
q6dsp-common.h
q6dsp-errno.h
q6routing.c ASoC: q6routing: initialize data correctly 2018-09-03 12:17:32 +01:00
q6routing.h ASoC: qdsp6: q6routing: Add q6routing driver 2018-05-21 16:41:48 +01:00