drm/rockchip: cdn-dp: fix cdn-dp complie warning
authorMark Yao <mark.yao@rock-chips.com>
Sun, 5 Feb 2017 09:10:57 +0000 (17:10 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 7 Feb 2017 03:06:01 +0000 (11:06 +0800)
commit213c4b96639818a2dc8750d1b7a37672a9c9eaeb
treeab63f9affdede388dc4000384f54027f5739c05d
parent26d7f34cae7aad9600cd40ce07ec3fbe8606a567
drm/rockchip: cdn-dp: fix cdn-dp complie warning

fix warning:

drivers/gpu/drm/rockchip/cdn-dp-reg.c:632:24: warning:
  'val[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  msa_misc = 2 * val[0] + 32 * val[1] +

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/cdn-dp-reg.c