summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2021-12-14 20:07:34 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-01-26 10:00:45 +0100
commit59e2bcd8a95b4cc5a04809b6d2ee337e81b47f57 (patch)
tree1f2ded9d2ddbd8cc80cc04542bf23b6e21a4315c /drivers/clocksource
parent841255544b653cbabe4ee5eda56bbb8b7ad8de8a (diff)
downloadlinux-59e2bcd8a95b4cc5a04809b6d2ee337e81b47f57.tar.bz2
clocksource/drivers/imx-tpm: Drop IRQF_IRQPOLL
Per the Documentation, IRQF_IRQPOLL is used for polling (only the interrupt that is registered first in a shared interrupt is considered for performance reasons) The TPM timer is not sharing interrupt with others, and pass irqpoll not make sense for i.MX platform. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20211214120737.1611955-3-peng.fan@oss.nxp.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/timer-imx-tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
index 2cdc077a39f5..2c0b0d4eba9e 100644
--- a/drivers/clocksource/timer-imx-tpm.c
+++ b/drivers/clocksource/timer-imx-tpm.c
@@ -137,7 +137,7 @@ static struct timer_of to_tpm = {
},
.of_irq = {
.handler = tpm_timer_interrupt,
- .flags = IRQF_TIMER | IRQF_IRQPOLL,
+ .flags = IRQF_TIMER,
},
.of_clk = {
.name = "per",