Commit 6e8958ec authored by Philipp Zabel's avatar Philipp Zabel

drm/imx: dw_hdmi-imx: add end of array element to current control array

The loop iterating over curr_ctrl in dw_hdmi terminates on mpixelclock == ~0UL,
so there needs to be an end of list element here in case a mode with a pixel
clock larger than 216 MHz is set.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 081c80e8
...@@ -70,7 +70,9 @@ static const struct dw_hdmi_curr_ctrl imx_cur_ctr[] = { ...@@ -70,7 +70,9 @@ static const struct dw_hdmi_curr_ctrl imx_cur_ctr[] = {
118800000, { 0x091c, 0x091c, 0x06dc }, 118800000, { 0x091c, 0x091c, 0x06dc },
}, { }, {
216000000, { 0x06dc, 0x0b5c, 0x091c }, 216000000, { 0x06dc, 0x0b5c, 0x091c },
} }, {
~0UL, { 0x0000, 0x0000, 0x0000 },
},
}; };
static const struct dw_hdmi_sym_term imx_sym_term[] = { static const struct dw_hdmi_sym_term imx_sym_term[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment