Browse Source

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
Dave Airlie 8 years ago
parent
commit
4eaa39c63c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/rockchip/cdn-dp-reg.c

+ 1 - 1
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: