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

Commit aaf09dee authored by Venkata Prahlad Valluru's avatar Venkata Prahlad Valluru Committed by Gerrit - the friendly Code Review server
Browse files

input: touchscreen: fix probe sequence in focaltech



Read device id after the regulators are powered on.

Change-Id: Ibacfdf5edbecb322beb4b00e4a6dbb0147f08fdd
Signed-off-by: default avatarVenkata Prahlad Valluru <vvalluru@codeaurora.org>
parent 5791d1cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1129,13 +1129,13 @@ static int fts_ts_probe(struct i2c_client *client,

	fts_input_dev_init(client, data, input_dev, pdata);

	fts_ctpm_get_upgrade_array();

#if FTS_POWER_SOURCE_CUST_EN
	fts_power_source_init(data);
	fts_power_source_ctrl(data, 1);
#endif

	fts_ctpm_get_upgrade_array();

	err = fts_gpio_configure(data);
	if (err < 0) {
		FTS_ERROR("[GPIO]Failed to configure the gpios");