Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cd5e2f1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: synaptics_dsx: correct the debug message error"

parents 7a84819d 14da0744
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -2733,7 +2733,9 @@ static int synaptics_rmi4_parse_dt_children(struct device *dev,
				 */
				continue;
			} else if (of_property_read_bool(child,
				"synaptics,bypass-sensor-coords-check")) {
				"synaptics,bypass-sensor-coords-check") &&
				of_find_property(child,
					"synaptics,panel-coords", NULL)) {
				/*
				 * Some unprogrammed panels from touch vendor
				 * and wrongly programmed panels from factory
@@ -2744,6 +2746,9 @@ static int synaptics_rmi4_parse_dt_children(struct device *dev,
				 * of coordinate range read from sensor and read
				 * from DT and continue normal operation.
				 */
				synaptics_dsx_get_dt_coords(dev,
						"synaptics,panel-coords",
						rmi4_pdata, child);
				dev_info(dev,
					"%s Synaptics package id matches %d %d,"
					"but bypassing the comparison of sensor"
@@ -2781,6 +2786,10 @@ static int synaptics_rmi4_parse_dt_children(struct device *dev,
						(rmi4_pdata->panel_maxy !=
						rmi4_data->sensor_max_y))
						continue;
				} else {
					dev_info(dev, "Smax_x Smax_y = %d:%d\n",
						rmi4_data->sensor_max_x,
						rmi4_data->sensor_max_y);
				}
			}
		}