diff options
Diffstat (limited to 'drivers/omap_hsi')
-rw-r--r-- | drivers/omap_hsi/hsi_driver_if.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/omap_hsi/hsi_driver_if.c b/drivers/omap_hsi/hsi_driver_if.c index 73b8263..c0a31d7 100644 --- a/drivers/omap_hsi/hsi_driver_if.c +++ b/drivers/omap_hsi/hsi_driver_if.c @@ -898,6 +898,10 @@ int hsi_ioctl(struct hsi_device *dev, unsigned int command, void *arg) /* HW errata HSI-C1BUG00085 : go back to normal IDLE mode */ if (hsi_driver_device_is_hsi(to_platform_device(hsi_ctrl->dev))) hsi_set_pm_default(hsi_ctrl); + /* Clean CA_WAKE status */ + pport->cawake_status = -1; + hsi_outl(HSI_CAWAKEDETECTED, base, + HSI_SYS_MPU_STATUS_REG(port, pport->n_irq)); hsi_driver_enable_interrupt(pport, HSI_CAWAKEDETECTED); hsi_outl_and(HSI_SET_WAKE_3_WIRES_MASK, base, HSI_SYS_SET_WAKE_REG(port)); |