Add key input log
Change-Id: I2541da5725699a7c3914d86506c1021f47f07bb9 (cherry picked from commit 124c49b85035a0338df595ecfc11ecdd2bea3bb6)
This commit is contained in:
parent
f2ab7c8fdd
commit
c9d08f45f9
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue