commit | baeca4495f53bd0c51c24e5467ef1a7ba5e17f6d | [log] [tgz] |
---|---|---|
author | Wei-Ning Huang <wnhuang@chromium.org> | Thu Jul 02 16:36:56 2015 +0800 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Sat Jul 18 00:42:15 2015 +0200 |
tree | 6ec8443dd8f838d6111b877102b926761ea069f6 | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 [diff] |
rtc: mt6397: enable wakeup before registering rtc device rtc_sysfs_add_device checks if device can wakeup before creating the wakealarm file in sysfs. Thus the driver must set wakeup capability before registering the rtc device. Signed-off-by: Wei-Ning Huang <wnhuang@google.com> Acked-by: Eddie Huang <eddie.huang@mediatek.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>