1From 86a154394255a6b256a0eb36dbf2030313d712ba Mon Sep 17 00:00:00 2001
2From: Jeffy Chen <jeffy.chen@rock-chips.com>
3Date: Fri, 16 Oct 2020 12:19:44 +0800
4Subject: [PATCH 31/79] touch-calibrator: Ignore verify errors
5
6Print warnings instead, this is useful when emulating a small screen.
7
8Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9---
10 clients/touch-calibrator.c | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/clients/touch-calibrator.c b/clients/touch-calibrator.c
14index 04a966b..815b89a 100644
15--- a/clients/touch-calibrator.c
16+++ b/clients/touch-calibrator.c
17@@ -854,7 +854,8 @@ calibrator_run(struct calibrator *cal)
18 		return CAL_EXIT_ERROR;
19
20 	if (verify_calibration(cal, result) < 0)
21-		return CAL_EXIT_ERROR;
22+		//return CAL_EXIT_ERROR;
23+		pr_ver("Ignoring verify errors.\n");
24
25 	pr_ver("Calibration values:");
26 	for (i = 0; i < 6; i++)
27--
282.20.1
29
30