From 9be11bcf241645464dd7e6b708c0ce334416dc0e Mon Sep 17 00:00:00 2001 From: liaohs Date: Mon, 28 Jan 2019 18:50:48 +0800 Subject: [PATCH] PMIC : print PMIC keys code default Keys or combo Keys code from PMIC: Power key, Volume down key and Power Key + Volume down combo key . Default print these code log to monitor PMIC interrupt. Change-Id: Iaea43e97acc1c43bd5dda37664bf89572f012794 Reviewed-on: https://gerrit.mot.com/1302037 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key Reviewed-by: Haijian Ma Reviewed-on: https://gerrit.mot.com/1470888 Reviewed-by: Zhenxin Xi Reviewed-on: https://gerrit.mot.com/1771188 --- drivers/input/misc/qpnp-power-on.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/qpnp-power-on.c b/drivers/input/misc/qpnp-power-on.c index 39255cd19086..64123c678fb2 100644 --- a/drivers/input/misc/qpnp-power-on.c +++ b/drivers/input/misc/qpnp-power-on.c @@ -1030,7 +1030,7 @@ static int qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type) return -EINVAL; } - pr_debug("PMIC input: code=%d, status=0x%02X\n", cfg->key_code, + pr_info("PMIC input: code=%d, status=0x%02X\n", cfg->key_code, pon_rt_sts); key_status = pon_rt_sts & pon_rt_bit;