summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2021-12-14 13:07:33 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-01-26 10:00:39 +0100
commit841255544b653cbabe4ee5eda56bbb8b7ad8de8a (patch)
tree89f0bcd975b983320bd94fe664de6e1e3b80600e /drivers/clocksource
parentMerge branch 'clocksource' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
downloadlinux-841255544b653cbabe4ee5eda56bbb8b7ad8de8a.tar.xz
linux-841255544b653cbabe4ee5eda56bbb8b7ad8de8a.zip
clocksource/drivers/imx-sysctr: 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) But this timer is not sharing interrupt line with others, and actually irqpoll not work with this timer with IRQF_IRQPOLL set, so drop the flag. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20211214120737.1611955-2-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-sysctr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-imx-sysctr.c b/drivers/clocksource/timer-imx-sysctr.c
index 55a8e198d2a1..523e37662a6e 100644
--- a/drivers/clocksource/timer-imx-sysctr.c
+++ b/drivers/clocksource/timer-imx-sysctr.c
@@ -110,7 +110,7 @@ static struct timer_of to_sysctr = {
},
.of_irq = {
.handler = sysctr_timer_interrupt,
- .flags = IRQF_TIMER | IRQF_IRQPOLL,
+ .flags = IRQF_TIMER,
},
.of_clk = {
.name = "per",