linux-stable/sound/soc/qcom
Brian Norris 2adc64f3e6 ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
commit 000bca8d70 upstream.

These indices should reference the ID placed within the dai_driver
array, not the indices of the array itself.

This fixes commit 4ff028f6c1 ("ASoC: qcom: lpass-cpu: Make I2S SD
lines configurable"), which among others, broke IPQ8064 audio
(sound/soc/qcom/lpass-ipq806x.c) because it uses ID 4 but we'd stop
initializing the mi2s_playback_sd_mode and mi2s_capture_sd_mode arrays
at ID 0.

Fixes: 4ff028f6c1 ("ASoC: qcom: lpass-cpu: Make I2S SD lines configurable")
Cc: <stable@vger.kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20221231061545.2110253-1-computersforpeace@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:44:54 +01:00
..
qdsp6 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp() 2022-08-21 15:16:09 +02:00
apq8016_sbc.c
apq8096.c
common.c ASoC: qcom: common: Fix refcounting in qcom_snd_parse_of() 2020-12-30 11:53:06 +01:00
common.h
Kconfig ASoC: qcom: fix QDSP6 dependencies, attempt #3 2020-12-30 11:53:36 +01:00
lpass-apq8016.c ASoC: qcom: lpass: Fix i2s ctl register bit map 2021-03-04 11:37:47 +01:00
lpass-cpu.c ASoC: qcom: lpass-cpu: Fix fallback SD line index handling 2023-01-18 11:44:54 +01:00
lpass-hdmi.c ASoC: qcom: fix unsigned int bitwidth compared to less than zero 2020-12-30 11:52:59 +01:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field 2021-02-03 23:28:46 +01:00
lpass-lpaif-reg.h ASoC: qcom: lpass-cpu: Remove bit clock state check 2021-03-04 11:37:44 +01:00
lpass-platform.c ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY 2021-02-03 23:28:46 +01:00
lpass-sc7180.c ASoC: qcom: Add checks for devm_kcalloc 2023-01-14 10:15:32 +01:00
lpass.h ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin 2021-06-23 14:42:49 +02:00
Makefile ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
sdm845.c ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire 2023-01-14 10:16:28 +01:00
storm.c