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

Commit 440f64e8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents fc873583 d796ae6e
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -855,6 +855,8 @@ qpnp_pon_config_input(struct qpnp_pon *pon, struct qpnp_pon_config *cfg)
		pon->pon_input->phys = "qpnp_pon/input0";
		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);
	input_set_capability(pon->pon_input, EV_KEY, cfg->key_code);


	return 0;
	return 0;