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

Commit 9a6ec5ec authored by Vevek Venkatesan's avatar Vevek Venkatesan Committed by Gerrit - the friendly Code Review server
Browse files

Revert "input: touchscreen: st: turn off regulator during suspend"



This reverts commit 9517dc4b.
Power team's requirement, to vote this Regulator always, since
keeping this Regulator off causing leakage in another regulator.

CRs-Fixed: 2377331
Change-Id: I25738b5271d03fc89e96d0c4da21de615d036676
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent 1e5b6117
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -134,7 +134,6 @@ static int fts_init_afterProbe(struct fts_ts_info *info);
static int fts_mode_handler(struct fts_ts_info *info, int force);
static int fts_command(struct fts_ts_info *info, unsigned char cmd);
static int fts_chip_initialization(struct fts_ts_info *info);
static int fts_enable_reg(struct fts_ts_info *info, bool enable);

active_tp_setup(st);

@@ -4018,11 +4017,6 @@ static void fts_resume_work(struct work_struct *work)

	__pm_wakeup_event(&info->wakeup_source, HZ);

	if (fts_enable_reg(info, true) < 0) {
		logError(1, "%s %s: ERROR Failed to enable regulators\n",
			tag, __func__);
	}

	if (info->ts_pinctrl) {
		/*
		 * Pinctrl handle is optional. If pinctrl handle is found
@@ -4085,8 +4079,6 @@ static void fts_suspend_work(struct work_struct *work)
				__func__, PINCTRL_STATE_SUSPEND);
		}
	}

	fts_enable_reg(info, false);
}