Yidi Lin has submitted this change. ( 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85877 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Yu-Ping Wu yupingso@google.com --- M src/soc/mediatek/common/dp/dptx_common.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Yu-Ping Wu: Looks good to me, approved
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;