Skip to content
Commit baeca449 authored by Wei-Ning Huang's avatar Wei-Ning Huang Committed by Alexandre Belloni
Browse files

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: default avatarWei-Ning Huang <wnhuang@google.com>
Acked-by: default avatarEddie Huang <eddie.huang@mediatek.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent bc0195aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment