mbox series

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

Message ID 167816222047.26.16041202479869475297@mailman-core.alsa-project.org
Headers show
Series ASoC: mediatek: fix coverity problems | expand

Message

Trevor Wu March 7, 2023, 4:09 a.m. UTC
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(-)