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 <liaohs@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/1470888
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Reviewed-on: https://gerrit.mot.com/1771188
This commit is contained in:
liaohs 2019-01-28 18:50:48 +08:00 • committed by Xiaojun Ji
commit 9be11bcf24

View file

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