linux_dsm_epyc7002/sound/soc/qcom
Srinivas Kandagatla 022d00ee0b ASoC: lpass-platform: Fix broken pcm data usage
This patch fixes lpass-platform driver which was broken in v4.9-rc1.
lpass_pcm_data data structure holds information specific to stream.
Holding a single private pointer to it in global lpass_data
will not work, because it would be overwritten by for each pcm instance.

This code was breaking playback when we have both playback and capture
pcm streams, as playback settings are over written by capture settings.

Fix this by moving channel allocation logic out of pcm_new to pcm_open
so that we can store the stream specific information in private_data of
snd_pcm_runtime.

Fixes: 6adcbdcd4b ("ASoC: lpass-platform: don't use snd_soc_pcm_set_drvdata()")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-10-31 12:29:54 -06: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: qcom: add mic support 2016-02-20 01:20:18 +09: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: Fix broken pcm data usage 2016-10-31 12:29:54 -06: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