clocksource/drivers/imx-tpm: Drop IRQF_IRQPOLL
authorPeng Fan <peng.fan@nxp.com>
Tue, 14 Dec 2021 12:07:34 +0000 (20:07 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Jan 2022 09:00:45 +0000 (10:00 +0100)
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>
drivers/clocksource/timer-imx-tpm.c

index 2cdc077a39f5deb97cc78f9b67d0183104ea8ea9..2c0b0d4eba9ef0121b61112bf5adc721f6842923 100644 (file)
@@ -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",