[PATCH 0/4] ASoC: mediatek: fix coverity problems

From: Trevor Wu
Date: Mon Mar 06 2023 - 23:09:58 EST


Coverity reports some UNINIT and CERT STR31-C problems, so we add
initialization and dai id check to resolve problems.

Trevor Wu (4):
ASoC: mediatek: mt8195: add dai id check before accessing array
ASoC: mediatek: mt9195-mt6359: fix UNINIT problem
ASoC: mediatek: mt6358: fix UNINIT problem
ASoC: mediatek: mt6359: fix UNINIT problem

sound/soc/codecs/mt6358.c | 2 +-
sound/soc/codecs/mt6359.c | 2 +-
sound/soc/mediatek/mt8195/mt8195-dai-adda.c | 17 +-
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c | 177 +++++++++++++++++---
sound/soc/mediatek/mt8195/mt8195-dai-pcm.c | 26 ++-
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 2 +-
6 files changed, 188 insertions(+), 38 deletions(-)

--
2.18.0