projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081c80e
)
drm/imx: dw_hdmi-imx: add end of array element to current control array
author
Philipp Zabel
<p.zabel@pengutronix.de>
Wed, 7 Jan 2015 22:49:41 +0000
(23:49 +0100)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 23 Feb 2015 16:19:01 +0000
(17:19 +0100)
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: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/dw_hdmi-imx.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/dw_hdmi-imx.c
b/drivers/gpu/drm/imx/dw_hdmi-imx.c
index
d25aaef
..
87fe8ed
100644
(file)
--- a/
drivers/gpu/drm/imx/dw_hdmi-imx.c
+++ b/
drivers/gpu/drm/imx/dw_hdmi-imx.c
@@
-70,7
+70,9
@@
static const struct dw_hdmi_curr_ctrl imx_cur_ctr[] = {
118800000, { 0x091c, 0x091c, 0x06dc },
}, {
216000000, { 0x06dc, 0x0b5c, 0x091c },
- }
+ }, {
+ ~0UL, { 0x0000, 0x0000, 0x0000 },
+ },
};
static const struct dw_hdmi_sym_term imx_sym_term[] = {