+3
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If we execute function device_init_wakeup() after rtc_device_register()
It do not generate the wakealarm node at /sys/class/rtc/rtc0/, which is
used to set up wakealarm time.Because wakealarm node generates in function
rtc_device_register() and need device_init_wakeup() set the related flag 1,
the device_init_wakeup() must move before rtc_device_register().
Change-Id: I123770e3037bb51c0d0de5de6bcd5a1bd7780f91
Signed-off-by:
c_xlin <xlin@codeaurora.org>