Merge "serial: msm_serial_hs: Modify wakeup handler disablement and processing"
This commit is contained in:
commit
2a27c1aaf7
1 changed files with 2 additions and 3 deletions
|
@ -2255,7 +2255,7 @@ void disable_wakeup_interrupt(struct msm_hs_port *msm_uport)
|
|||
return;
|
||||
|
||||
if (msm_uport->wakeup.enabled) {
|
||||
disable_irq_nosync(msm_uport->wakeup.irq);
|
||||
disable_irq(msm_uport->wakeup.irq);
|
||||
enable_irq(uport->irq);
|
||||
spin_lock_irqsave(&uport->lock, flags);
|
||||
msm_uport->wakeup.enabled = false;
|
||||
|
@ -2614,8 +2614,7 @@ static int msm_hs_startup(struct uart_port *uport)
|
|||
msm_hs_resource_vote(msm_uport);
|
||||
|
||||
if (is_use_low_power_wakeup(msm_uport)) {
|
||||
ret = request_threaded_irq(msm_uport->wakeup.irq, NULL,
|
||||
msm_hs_wakeup_isr,
|
||||
ret = request_irq(msm_uport->wakeup.irq, msm_hs_wakeup_isr,
|
||||
IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
|
||||
"msm_hs_wakeup", msm_uport);
|
||||
if (unlikely(ret)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue