mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
rk29_key: call keys_isr when resume
This is patch for commit cdd3cccbd6
keyboard: If the power button is pressed in suspend state, immediately report event
This commit is contained in:
parent
ef2086a0a8
commit
f38c30bd69
|
|
@ -514,6 +514,10 @@ static int keys_resume(struct device *dev)
|
|||
disable_irq_wake(irq);
|
||||
}
|
||||
}
|
||||
preempt_disable();
|
||||
if (local_softirq_pending())
|
||||
do_softirq(); // for call resend_irqs, which may call keys_isr
|
||||
preempt_enable_no_resched();
|
||||
}
|
||||
|
||||
ddata->in_suspend = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user