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>
This commit is contained in:
parent
10be8c5ace
commit
c63f91f4dc
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ static void dptx_set_tu(struct mtk_dp *mtk_dp)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue