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 768d9aa557
("Input: don't call input_dev_release_keys() in resume").

Change-Id: I542837eddce7cb1ffba55c3e5d6b2e5bd12c9e62
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2016-12-02 14:24:52 -08:00
parent 6fbee0d3f2
commit d166772079

View file

@ -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;