The patch titled Subject: drivers/rtc/rtc-da9052.c: register ability of alarm to wake device from suspend has been added to the -mm tree. Its filename is rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Adam Ward <adam.ward.opensource@xxxxxxxxxxx> Subject: drivers/rtc/rtc-da9052.c: register ability of alarm to wake device from suspend Signed-off-by: Adam Ward <adam.ward.opensource@xxxxxxxxxxx> Tested-by: Adam Ward <adam.ward.opensource@xxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-da9052.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/rtc/rtc-da9052.c~rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend drivers/rtc/rtc-da9052.c --- a/drivers/rtc/rtc-da9052.c~rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend +++ a/drivers/rtc/rtc-da9052.c @@ -309,6 +309,8 @@ static int da9052_rtc_probe(struct platf 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); _ Patches currently in -mm which might be from adam.ward.opensource@xxxxxxxxxxx are rtc-da9052-add-extra-reads-with-timeouts-to-avoid-returning-partially-updated-values.patch rtc-da9052-add-constraints-to-set-valid-year.patch rtc-da9052-register-ability-of-alarm-to-wake-device-from-suspend.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html