]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/fttmr010: Parametrise shutdown
authorJoel Stanley <joel@jms.id.au>
Thu, 7 Nov 2019 09:42:15 +0000 (20:12 +1030)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 21 Feb 2020 08:28:38 +0000 (09:28 +0100)
commit66b4fde82d1bd8852e6ede7c621f096a20d456cd
tree7682802a88ef16bf27446dbb56ddbef84d54cf62
parent0d295704fae725b1140b1c1d538c41064ab7c184
clocksource/drivers/fttmr010: Parametrise shutdown

In preparation for supporting the ast2600 which uses a different method
to clear bits in the control register, use a callback for performing the
shutdown sequence.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191107094218.13210-2-joel@jms.id.au
drivers/clocksource/timer-fttmr010.c