Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2b6aaf2 authored by c_xlin's avatar c_xlin
Browse files

qpnp-rtc.c : Generate the node wakealarm for RTC



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: default avatarc_xlin <xlin@codeaurora.org>
parent aa89b686
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment