msm: qpnp-rtc: Enable the node of wakealarm
Move the function device_init_wakeup ahead of rtc_device_register.
Because we need to set up all the parameters before we register
the rtc device into the kernel. Wakealarm is one of them.Otherwise
the wakealarm wouldn't be generated so we can't wake up device
after shutdown.
Change-Id: I6dc70423248600d9ef3c233098228c81d40af540
Signed-off-by:
xiaolin <xiaolin@codeaurora.org>
Loading
Please register or sign in to comment