ASoC: mediatek: fix coverity problems
authorMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 19:06:05 +0000 (19:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 19:06:05 +0000 (19:06 +0000)
commitfe839119f0e9f69d0f49e63359382f4d1abd3eb7
treeea500081cef9a778063e20340493d60028234bdb
parentda1f22825b4fec7e25431fa5238252452f3dce46
parent3a60fa4c063dacc5eb66660aa23107f3cb8a477e
ASoC: mediatek: fix coverity problems

Merge series from Trevor Wu <trevor.wu@mediatek.com>:

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