mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user