Yidi Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85877?usp=email )
Change subject: soc/mediatek/common/dp: Initialize dptx_misc ......................................................................
soc/mediatek/common/dp: Initialize dptx_misc
Initialize dptx_misc to prevent unexpected value set to REG_3034_DP_ENCODER0_P0.
TEST=emerge-geralt coreboot && emerge-rauru coreboot
Change-Id: I80e0f83f238d9b4c1ed0e1d1b219f4fb89a6cd22 Signed-off-by: Yidi Lin yidilin@chromium.org --- M src/soc/mediatek/common/dp/dptx_common.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/85877/1
diff --git a/src/soc/mediatek/common/dp/dptx_common.c b/src/soc/mediatek/common/dp/dptx_common.c index d835f57..0d078cd 100644 --- a/src/soc/mediatek/common/dp/dptx_common.c +++ b/src/soc/mediatek/common/dp/dptx_common.c @@ -333,7 +333,7 @@ static void dptx_set_misc(struct mtk_dp *mtk_dp) { u8 format, depth; - union misc_t dptx_misc; + union misc_t dptx_misc = { .cmisc = {0} };
format = mtk_dp->info.format; depth = mtk_dp->info.depth;