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

Commit d1667720 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

Revert "input: powerkey: don't send dummy release event"



This reverts commit d796ae6e8878daecf855d23658c546aeef506142
("input: powerkey: don't send dummy release event") which was
added as a workaround to ensure that keys held during resume
were not artificially released by the input framework. This
issue is already resolved by commit 768d9aa5
("Input: don't call input_dev_release_keys() in resume").

Change-Id: I542837eddce7cb1ffba55c3e5d6b2e5bd12c9e62
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 6fbee0d3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1206,8 +1206,6 @@ qpnp_pon_config_input(struct qpnp_pon *pon, struct qpnp_pon_config *cfg)
		pon->pon_input->phys = "qpnp_pon/input0";
	}

	/* don't send dummy release event when system resumes */
	__set_bit(INPUT_PROP_NO_DUMMY_RELEASE, pon->pon_input->propbit);
	input_set_capability(pon->pon_input, EV_KEY, cfg->key_code);

	return 0;