pwrkey: change printk level to output to console

In user version, Moto kernel policy will mask all KERN_INFO
log to console, so change the power key press or release event
log level to make it work in user versions.

Change-Id: Ia4e7c33819f1e50b6a7778ea186bd1c83890b818
Reviewed-on: https://gerrit.mot.com/1545783
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1584163
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
This commit is contained in:
xizx authored and Gilberto Gambugge committed 2023-06-01 00:47:11 -03:00
1 parent 001270581f
commit e6dfda2e39
1 file changed
+1 -1
+1 -1
View File
@@ -1002,7 +1002,7 @@ static int qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
(int) tm.tm_year + 1900, tm.tm_mon + 1,
tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
pr_info("Report pwrkey %s event at: %s\n", pon_rt_bit &
pr_warn("Report pwrkey %s event at: %s\n", pon_rt_bit &
pon_rt_sts ? "press" : "release", buff);
break;
case PON_RESIN: