Commit 84125554 authored by Peng Fan's avatar Peng Fan Committed by Daniel Lezcano
Browse files

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: default avatarPeng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20211214120737.1611955-2-peng.fan@oss.nxp.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 35e13e9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -110,7 +110,7 @@ static struct timer_of to_sysctr = {
	},
	},
	.of_irq = {
	.of_irq = {
		.handler		= sysctr_timer_interrupt,
		.handler		= sysctr_timer_interrupt,
		.flags			= IRQF_TIMER | IRQF_IRQPOLL,
		.flags			= IRQF_TIMER,
	},
	},
	.of_clk = {
	.of_clk = {
		.name = "per",
		.name = "per",