video: rockchip: hdmi: fix current color mode and depth info
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 8 Jul 2016 02:29:54 +0000 (10:29 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Wed, 13 Jul 2016 06:33:53 +0000 (14:33 +0800)
commit23d2f03ceae709e9a6975a77d426b7593dd2db63
treeafd973296f6e877838653b82a527dd05846389c6
parent388e6710070da4a29226ca433068319e9d9612a7
video: rockchip: hdmi: fix current color mode and depth info

If current color mode and depth is auto, information in sysfs
node is equal to zero, is not responsed to actual mode and
depth, now fix it.

Change-Id: Ifd2888b2af5522a026be92071d98d6bc081d02db
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
(cherry picked from commit c2cac5c2cff8464ab4ba2c2638a84d997aa0365e)
drivers/video/rockchip/hdmi/rockchip-hdmi-sysfs.c