Re: [PATCH] clocksource/drivers/fttmr010: Fix aspeed-2500 initialization

From: Linus Walleij
Date: Sun May 28 2017 - 09:56:28 EST


On Fri, May 26, 2017 at 10:48 AM, Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:

> The recent changes made the fttmr010 to be more generic and support different
> timers with a very few differences like moxart or aspeed.
>
> The aspeed timer uses a countdown and there is a test against the aspeed2400
> compatible string to set a flag.
>
> With the previous patch, we added the aspeed2500 compatible string but without
> taking care of setting the countdown flag.
>
> Fix this by specifiying a init function and pass the aspeed flag to a common
> init function.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

Sorry for the mistake :(
I don't have the Aspeed systems myself but I bet this works.

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij