Re: [PATCH 1/2] rtc: snvs: Make SNVS clock always prepared

2020-05-29 Thread Alexandre Belloni
On Fri, 22 May 2020 10:19:55 +0800, Anson Huang wrote: > In IRQ handler, ONLY clock enable/disable is called due to > clock prepare can NOT be called in interrupt context, but > clock enable/disable will return failure if prepare count > is 0, to fix this issue, just make SNVS clock always

[PATCH 1/2] rtc: snvs: Make SNVS clock always prepared

2020-05-21 Thread Anson Huang
In IRQ handler, ONLY clock enable/disable is called due to clock prepare can NOT be called in interrupt context, but clock enable/disable will return failure if prepare count is 0, to fix this issue, just make SNVS clock always prepared there, the SNVS clock has no prepare function implemented, so