[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <74467a880a77de9db4d209976924bb35af70b1c8.1425490310.git.adam.ward.opensource@diasemi.com>
Date: Wed, 4 Mar 2015 16:13:13 +0000
From: Adam Ward <adam.ward.opensource@...semi.com>
To: Alessandro Zummo <a.zummo@...ertech.it>
CC: Support Opensource <support.opensource@...semi.com>,
<rtc-linux@...glegroups.com>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v1 3/3] rtc: da9052: Register ability of alarm to wake device
from suspend
Signed-off-by: Adam Ward <adam.ward.opensource@...semi.com>
Tested-by: Adam Ward <adam.ward.opensource@...semi.com>
---
drivers/rtc/rtc-da9052.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rtc/rtc-da9052.c b/drivers/rtc/rtc-da9052.c
index acc3e5a..1ba4371 100644
--- a/drivers/rtc/rtc-da9052.c
+++ b/drivers/rtc/rtc-da9052.c
@@ -309,6 +309,8 @@ static int da9052_rtc_probe(struct platform_device *pdev)
return ret;
}
+ device_init_wakeup(&pdev->dev, true);
+
rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name,
&da9052_rtc_ops, THIS_MODULE);
return PTR_ERR_OR_ZERO(rtc->rtc);
--
end-of-patch for rtc: da9052: Corrections to access, validation and capability
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists