[PATCH v2] gpio: mvebu: Add clk support to prevent lockup

Linus Walleij linus.walleij at linaro.org
Mon Feb 4 15:45:17 EST 2013


On Mon, Feb 4, 2013 at 2:44 AM, Jason Cooper <jason at lakedaemon.net> wrote:
> On Sun, Feb 03, 2013 at 11:34:26AM +0100, Andrew Lunn wrote:
>> The kirkwood SoC GPIO cores use the runit clock. Add code to
>> clk_prepare_enable() runit, otherwise there is a danger of locking up
>> the SoC by accessing the GPIO registers when runit clock is not
>> ticking.
>>
>> Reported-by: Simon Baatz <gmbnomis at gmail.com>
>> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
>> ---
>> Since v1:
>> ChangeLog: tclk->runit clock
>>
>>  arch/arm/boot/dts/kirkwood.dtsi |    2 ++
>>  drivers/gpio/gpio-mvebu.c       |    7 +++++++
>>  2 files changed, 9 insertions(+)
>
> Linus,
>
> I merge-tested this against your gpio/fixes branch since you had a patch
> to the same file:
>
> 11c0cee gpio: mvebu: Don't free chip label memory
>
> There were no conflicts.  If you don't mind, I'd like to take this
> through mvebu/fixes -> arm-soc since this is one of four patches to fix
> one reported issue.  I'd like to keep them in the same branch.

No problem, go ahead.
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list