[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150810155005.GH3411@piout.net>
Date: Mon, 10 Aug 2015 17:50:05 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: Nicolas Ferre <nicolas.ferre@...el.com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
linux-pm@...r.kernel.org
Subject: Re: [PATCH 18/23] power/reset: at91-reset: get and use slow clock
On 05/08/2015 at 20:22:20 +0200, Sebastian Reichel wrote :
> Hi,
>
> On Fri, Jul 31, 2015 at 11:39:54AM +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 reset
> > controller.
>
> You call clk_prepare_enable during probe without a matching
> clk_disable_unprepare on module removal.
>
They will never be compiled as modules as the Kconfig option is a bool
so we don't have a .remove and the module will never be removed.
Do you want me to change at91-reset and at91-poweroff to work as
modules?
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists