Add key input log

Change-Id: I2541da5725699a7c3914d86506c1021f47f07bb9
(cherry picked from commit 124c49b85035a0338df595ecfc11ecdd2bea3bb6)
This commit is contained in:
wendy.zhang 2025-02-19 15:14:06 +08:00 committed by eric.luo
parent f2ab7c8fdd
commit c9d08f45f9

View file

@ -193,6 +193,9 @@ static irqreturn_t pm8941_pwrkey_irq(int irq, void *_data)
input_report_key(pwrkey->input, pwrkey->code, sts);
input_sync(pwrkey->input);
dev_info(pwrkey->dev, "Key event reported: code=%d, status=%d\n",
pwrkey->code, sts);
return IRQ_HANDLED;
}