summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom/common.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2022-12-30 22:15:45 -0800
committerMark Brown <broonie@kernel.org>2023-01-01 22:34:07 +0000
commit000bca8d706d1bf7cca01af75787247c5a2fdedf (patch)
tree860baf4d0b42a99a25d3b2f460ea588663805695 /sound/soc/qcom/common.c
parentefd58edd8445685b5e7dcb81e5926e0865ece1ff (diff)
downloadlinux-stable-000bca8d706d1bf7cca01af75787247c5a2fdedf.tar.gz
linux-stable-000bca8d706d1bf7cca01af75787247c5a2fdedf.tar.bz2
linux-stable-000bca8d706d1bf7cca01af75787247c5a2fdedf.zip
ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
These indices should reference the ID placed within the dai_driver array, not the indices of the array itself. This fixes commit 4ff028f6c108 ("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: 4ff028f6c108 ("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>
Diffstat (limited to 'sound/soc/qcom/common.c')
0 files changed, 0 insertions, 0 deletions