Re: [PATCH v2] rtc: hym8563: enable wakeup when applicable

2020-11-14 Thread Alexandre Belloni
On Fri, 6 Nov 2020 09:06:31 +, Guillaume Tucker wrote: > Enable wakeup in the hym8563 driver if the IRQ was successfully > requested or if wakeup-source is set in the devicetree. > > As per the description of device_init_wakeup(), it should be enabled > for "devices that everyone expects to

[PATCH v2] rtc: hym8563: enable wakeup when applicable

2020-11-06 Thread Guillaume Tucker
Enable wakeup in the hym8563 driver if the IRQ was successfully requested or if wakeup-source is set in the devicetree. As per the description of device_init_wakeup(), it should be enabled for "devices that everyone expects to be wakeup sources". One would expect this to be the case with a