Re: [PATCH v2] mfd: arizona: Correct calling of runtime_put_sync

From: Charles Keepax
Date: Wed Aug 22 2018 - 04:09:14 EST


On Tue, Aug 21, 2018 at 07:52:44PM +0530, sapthagiri.baratam@xxxxxxxxx wrote:
> From: Sapthagiri Baratam <sapthagiri.baratam@xxxxxxxxxx>
>
> Don't call runtime_put_sync when clk32k_ref is ARIZONA_32KZ_MCLK2
> as there is no corresponding runtime_get_sync call.
>
> MCLK1 is not in the AoD power domain so if it is used as 32kHz clock
> source we need to hold a runtime PM reference to keep the device from
> going into low power mode.
>
> fixes: cdd8da8cc66b ("mfd: arizona: Add gating of external MCLKn clocks")
> Signed-off-by: Sapthagiri Baratam <sapthagiri.baratam@xxxxxxxxxx>
> ---

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles