]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtc: opal: enable support for the stardard "wakeup-source" property
authorSudeep Holla <Sudeep.Holla@arm.com>
Wed, 21 Oct 2015 10:10:00 +0000 (11:10 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:30 +0000 (14:12 +0100)
commit347e40f0302c7e817e64256284b9e69a8b2711d2
tree3218028ec0c0ac438c5ea377b152eec804ada66c
parent7a96f2874c524a0f42b8c8f2ac03da3f02c96194
rtc: opal: enable support for the stardard "wakeup-source" property

Though the opal rtc driver should and will continue to support the legacy
"has-tpo" property to enable RTC as the wakeup source, we need to add
support for the new standard property "wakeup-source"

This patch adds support for "wakeup-source" property in addition to the
existing "has-tpo" property.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-opal.c