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

Commit d990db42 authored by Figo Wang's avatar Figo Wang
Browse files

MSM : Add debugging print for PMIC input event



This LOG will be used to record the PMIC input event.

Change-Id: If89d68b8ead2bfdca58100eff90d0b68ab90a089
Signed-off-by: default avatarFigo Wang <figow@codeaurora.org>
parent 4411c560
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -444,6 +444,8 @@ qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
		return -EINVAL;
	}

	pr_debug("PMIC input: code=%d, sts=0x%x\n",
					cfg->key_code, pon_rt_sts);
	key_status = pon_rt_sts & pon_rt_bit;

	/* simulate press event in case release event occured