vdin: fix the green point problem.

PD#167113: vdin: fix the green point problem.

When the vdin probe function is open,
there will be a green point at coordinate(0,0).
We need close vdin probe function default.

Change-Id: I47d1c4787a6633d2b044df5c8c0690137acce4f7
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
This commit is contained in:
xuhua zhang
2018-06-05 16:37:01 +08:00
parent a7cb2216f1
commit 4a68f21cec

View File

@@ -1496,6 +1496,8 @@ void vdin_set_matrix(struct vdin_dev_s *devp)
wr_bits(offset, VDIN_MATRIX_CTRL, 0,
VDIN_MATRIX_EN_BIT, VDIN_MATRIX_EN_WID);
#endif
wr_bits(offset, VDIN_MATRIX_CTRL, 3,
VDIN_PROBE_SEL_BIT, VDIN_PROBE_SEL_WID);
} else {
format_convert_matrix0 = vdin_get_format_convert_matrix0(devp);
format_convert_matrix1 = vdin_get_format_convert_matrix1(devp);