Re: [PATCH] rtc: brcmstb-waketimer: Set wktmr prescaler

2018-02-23 Thread Florian Fainelli
On 02/21/2018 05:15 PM, Justin Chen wrote: > The HW default is one tick per second, however instead of assuming this, > lets make sure the waketimer is actually one tick per second before > arming the alarm. > > Signed-off-by: Justin Chen > --- >

Re: [PATCH] rtc: brcmstb-waketimer: Set wktmr prescaler

2018-02-23 Thread Florian Fainelli
On 02/21/2018 05:15 PM, Justin Chen wrote: > The HW default is one tick per second, however instead of assuming this, > lets make sure the waketimer is actually one tick per second before > arming the alarm. > > Signed-off-by: Justin Chen > --- > drivers/rtc/rtc-brcmstb-waketimer.c | 4 >

[PATCH] rtc: brcmstb-waketimer: Set wktmr prescaler

2018-02-21 Thread Justin Chen
The HW default is one tick per second, however instead of assuming this, lets make sure the waketimer is actually one tick per second before arming the alarm. Signed-off-by: Justin Chen --- drivers/rtc/rtc-brcmstb-waketimer.c | 4 1 file changed, 4 insertions(+)

[PATCH] rtc: brcmstb-waketimer: Set wktmr prescaler

2018-02-21 Thread Justin Chen
The HW default is one tick per second, however instead of assuming this, lets make sure the waketimer is actually one tick per second before arming the alarm. Signed-off-by: Justin Chen --- drivers/rtc/rtc-brcmstb-waketimer.c | 4 1 file changed, 4 insertions(+) diff --git