Loading drivers/input/touchscreen/it7258_ts_i2c.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1898,11 +1898,11 @@ static int IT7260_ts_suspend(struct device *dev) return -EBUSY; return -EBUSY; } } if (device_may_wakeup(dev)) { if (!gl_ts->device_needs_wakeup) { /* put the device in low power idle mode */ /* put the device in low power idle mode */ IT7260_ts_chipLowPowerMode(PWR_CTL_LOW_POWER_MODE); IT7260_ts_chipLowPowerMode(PWR_CTL_LOW_POWER_MODE); if (device_may_wakeup(dev)) { if (!gl_ts->device_needs_wakeup) { gl_ts->device_needs_wakeup = true; gl_ts->device_needs_wakeup = true; enable_irq_wake(gl_ts->client->irq); enable_irq_wake(gl_ts->client->irq); } } Loading Loading
drivers/input/touchscreen/it7258_ts_i2c.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1898,11 +1898,11 @@ static int IT7260_ts_suspend(struct device *dev) return -EBUSY; return -EBUSY; } } if (device_may_wakeup(dev)) { if (!gl_ts->device_needs_wakeup) { /* put the device in low power idle mode */ /* put the device in low power idle mode */ IT7260_ts_chipLowPowerMode(PWR_CTL_LOW_POWER_MODE); IT7260_ts_chipLowPowerMode(PWR_CTL_LOW_POWER_MODE); if (device_may_wakeup(dev)) { if (!gl_ts->device_needs_wakeup) { gl_ts->device_needs_wakeup = true; gl_ts->device_needs_wakeup = true; enable_irq_wake(gl_ts->client->irq); enable_irq_wake(gl_ts->client->irq); } } Loading