static void touchwake_late_resume(struct early_suspend * h) { cancel_delayed_work(&touchoff_work); flush_scheduled_work(); if (touch_disabled) { touchwake_enable_touch(); } timed_out = true; device_suspended = false; return; }
static void touchwake_late_resume(struct early_suspend * h) { cancel_delayed_work(&touchoff_work); flush_scheduled_work(); wake_unlock(&touchwake_wake_lock); if (touch_disabled) { touchwake_enable_touch(); } powerkey_pressed = false; device_suspended = false; return; }
static void touchwake_late_resume(struct early_suspend * h) { #ifdef DEBUG_PRINT pr_info("[TOUCHWAKE] Enter late resume\n"); #endif cancel_delayed_work(&touchoff_work); flush_scheduled_work(); wake_unlock(&touchwake_wake_lock); if (touch_disabled) touchwake_enable_touch(); timed_out = true; device_suspended = false; return; }
static void touchwake_late_resume(struct early_suspend *h) { if (!touchwake_enabled) goto out; cancel_delayed_work(&touchoff_work); flush_scheduled_work(); wake_unlock(&touchwake_wake_lock); if (touch_disabled) touchwake_enable_touch(); led_trigger_event(&touchwake_led_trigger, LED_OFF); timed_out = true; out: device_suspended = false; }