I see drivers/rtc/alarm.c calls this function when it should wake up the system:
wake_lock_timeout(&alarm_rtc_wake_lock, 1 * HZ);
but when I add something like this to my irq interrupt, the screen is not turned on.
(I have log showing that function is called)
I initialize wakelock in driver probe like this:
wake_lock_init(&lis3dh_wake_lock, WAKE_LOCK_SUSPEND, "lis3dh_wakeup");