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

From: Alexandre Belloni
Date: Fri May 29 2020 - 21:22:36 EST

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 prepared
> there, the SNVS clock has no prepare function implemented,
> so it won't impact anything.

Applied, thanks!

[1/2] rtc: snvs: Make SNVS clock always prepared
commit: 20af67700bc39bccd838414128f63a72965de6e7
[2/2] rtc: snvs: Add necessary clock operations for RTC APIs
commit: 4b957bde561f3a56865395be06f1be2c196b0b5e

Best regards,
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>