diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-05-26 10:38:07 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-12 10:45:24 +0200 |
commit | ef89718ab685e40887bb76d4e7664a931306a2a4 (patch) | |
tree | 2d124949c0a7d61a4f22e5c0ec9f338bc2c5fef9 /drivers/clocksource/timer-digicolor.c | |
parent | clocksource/drivers/fttmr010: Add AST2500 compatible string (diff) | |
download | linux-ef89718ab685e40887bb76d4e7664a931306a2a4.tar.xz linux-ef89718ab685e40887bb76d4e7664a931306a2a4.zip |
clocksource/drivers/fttmr010: Fix aspeed-2500 initialization
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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-digicolor.c')
0 files changed, 0 insertions, 0 deletions