linux/sound/soc/qcom
Arnd Bergmann 3b89e4b77e ASoC: lpass-platform: initialize dma channel number
A bugfix accidentally removed the implicit initialization of the
dma channel number, causing undefined behavior when
v->alloc_dma_channel is NULL:

sound/soc/qcom/lpass-platform.c: In function ‘lpass_platform_pcmops_open’:
sound/soc/qcom/lpass-platform.c:83:29: error: ‘dma_ch’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

This adds back an explicit initialization to zero, restoring the
previous behavior for that case.

Fixes: 022d00ee0b ("ASoC: lpass-platform: Fix broken pcm data usage")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-11-09 13:24:57 +00:00
..
apq8016_sbc.c ASoC: qcom: apq8016-sbc: add support to routing via DT 2016-09-06 12:28:23 +01:00
Kconfig ASoC: qcom: fix build error 2016-03-12 09:51:17 +07:00
lpass-apq8016.c ASoC: qcom: apq8016: add wrdma support 2016-02-20 01:20:18 +09:00
lpass-cpu.c ASoC: lpass-cpu: add module licence and description 2016-10-31 12:30:15 -06:00
lpass-ipq806x.c ASoC: qcom: ipq806x: add wrdma related register offsets 2016-02-20 01:20:18 +09: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: lpass-platform: initialize dma channel number 2016-11-09 13:24:57 +00:00
lpass.h ASoC: lpass-platform: Fix broken pcm data usage 2016-10-31 12:29:54 -06:00
Makefile ASoC: qcom: add apq8016 sound card support 2015-06-10 18:29:33 +01:00
storm.c ASoC: qcom: storm: remove special casing EPROBE_DEFER 2015-06-09 17:18:58 +01:00