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

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

input: touchscreen: hxchipset: set rst pin to low during suspend



Set the TS_RESET PIN to LOW to avoid leakage, during suspend.

Change-Id: Ib2587a6282af2abe15b81ef2aded7e4a8f674723
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent da0130a5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -464,7 +464,10 @@ static void himax_mcu_resume_ic_action(void)

static void himax_mcu_suspend_ic_action(void)
{
	/* Nothing to do */
	/* Keep TS_RESET PIN to LOW, to avoid leakage during suspend */
#ifdef HX_RST_PIN_FUNC
	himax_rst_gpio_set(private_ts->rst_gpio, 0);
#endif
}

static void himax_mcu_power_on_init(void)