Re: [PATCH 19/23] power/reset: at91-poweroff: get and use slow clock

From: Sebastian Reichel
Date: Wed Aug 05 2015 - 14:23:02 EST


Hi,

On Fri, Jul 31, 2015 at 11:39:55AM +0200, Alexandre Belloni wrote:
> Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system
> hang") added a workaround for the slow clock as it is not properly handled
> by its users.
>
> Get and use the slow clock as it is necessary for the at91 shutdown
> controller.

You call clk_prepare_enable during probe without a matching
clk_disable_unprepare on module removal.

-- Sebastian

Attachment: signature.asc
Description: Digital signature