Merge "serial: msm_serial_hs: Change the wakeup interrupt enable sequence"
This commit is contained in:
commit
6875b99e30
1 changed files with 2 additions and 2 deletions
|
@ -2213,12 +2213,12 @@ void enable_wakeup_interrupt(struct msm_hs_port *msm_uport)
|
|||
return;
|
||||
|
||||
if (!(msm_uport->wakeup.enabled)) {
|
||||
enable_irq(msm_uport->wakeup.irq);
|
||||
disable_irq(uport->irq);
|
||||
spin_lock_irqsave(&uport->lock, flags);
|
||||
msm_uport->wakeup.ignore = 1;
|
||||
msm_uport->wakeup.enabled = true;
|
||||
spin_unlock_irqrestore(&uport->lock, flags);
|
||||
disable_irq(uport->irq);
|
||||
enable_irq(msm_uport->wakeup.irq);
|
||||
} else {
|
||||
MSM_HS_WARN("%s:Wake up IRQ already enabled", __func__);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue