diff options
author | 2017-02-08 11:28:19 +1000 | |
---|---|---|
committer | 2017-02-08 11:28:19 +1000 | |
commit | 4eaa39c63caf535dc1a8cc43b9a8677a100c09e1 (patch) | |
tree | ab63f9affdede388dc4000384f54027f5739c05d | |
parent | Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next (diff) | |
parent | drm/rockchip: cdn-dp: fix cdn-dp complie warning (diff) | |
download | linux-rng-4eaa39c63caf535dc1a8cc43b9a8677a100c09e1.tar.xz linux-rng-4eaa39c63caf535dc1a8cc43b9a8677a100c09e1.zip |
Merge branch 'drm-rockchip-next-2017-02-07' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
Single compile fix.
* 'drm-rockchip-next-2017-02-07' of https://github.com/markyzq/kernel-drm-rockchip:
drm/rockchip: cdn-dp: fix cdn-dp complie warning
-rw-r--r-- | drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-reg.c b/drivers/gpu/drm/rockchip/cdn-dp-reg.c index 3a5b8a4aa1e7..319dbbaa3609 100644 --- a/drivers/gpu/drm/rockchip/cdn-dp-reg.c +++ b/drivers/gpu/drm/rockchip/cdn-dp-reg.c @@ -592,7 +592,7 @@ static int cdn_dp_get_msa_misc(struct video_info *video, struct drm_display_mode *mode) { u32 msa_misc; - u8 val[2]; + u8 val[2] = {0}; switch (video->color_fmt) { case PXL_RGB: |