linux-stable/sound/soc/mediatek
Trevor Wu b56ec2992a
ASoC: mediatek: mt8195: add missing initialization
In etdm dai driver, dai_etdm_parse_of() function is used to parse dts
properties to get parameters. There are two for-loops which are
sepearately for all etdm and etdm input only cases. In etdm in only
loop, dai_id is not initialized, so it keeps the value intiliazed in
another loop.

In the patch, add the missing initialization to fix the unexpected
parsing problem.

Fixes: 1de9a54aca ("ASoC: mediatek: mt8195: support etdm in platform driver")
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230301110200.26177-3-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-01 14:49:17 +00:00
..
common ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt2701 ASoC: mediatek: mt2701-wm8960: Register to module device table 2022-11-09 13:44:24 +00:00
mt6797 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8173 ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe() 2022-12-07 14:19:11 +00:00
mt8183 ASoC: mt8183: Fix event generation for I2S DAI operations 2023-02-28 13:58:47 +00:00
mt8186 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8188 ASoC: mediatek: mt8188: add missing initialization 2023-03-01 14:49:16 +00:00
mt8192 ASoC: mt8192: Fix range for sidetone positive gain 2023-02-28 13:58:55 +00:00
mt8195 ASoC: mediatek: mt8195: add missing initialization 2023-03-01 14:49:17 +00:00
Kconfig ASoC: mediatek: Add support for MT8188 SoC 2023-01-19 15:31:47 +00:00
Makefile ASoC: mediatek: mt8188: add platform driver 2023-01-16 11:16:26 +00:00