Searched hist:"1 a3f0116b74ba2f9477c28fcf9d66ac7126455fd" (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-mt6359.c | diff 1a3f0116b74ba2f9477c28fcf9d66ac7126455fd Tue Mar 07 05:09:36 CET 2023 Trevor Wu <trevor.wu@mediatek.com> ASoC: mediatek: mt9195-mt6359: fix UNINIT problem
Coverity shows using uninitialized value monitor. When regmap_read returns an error, monitor keeps the value left from earlier computation. To prevent from the unexpected result in the case, assign 0 to monitor.
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Link: https://lore.kernel.org/r/20230307040938.7484-3-trevor.wu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
|