Revert "clocksource/drivers/imx-tpm: Fix next event not taking effect sometime"

This reverts commit 3157b81190.
This commit is contained in:
Ksawlii 2024-11-24 00:23:37 +01:00
parent ad0197fe73
commit 983be60aeb

View file

@ -90,14 +90,6 @@ static int tpm_set_next_event(unsigned long delta,
writel(next, timer_base + TPM_C0V);
now = tpm_read_counter();
/*
* Need to wait CNT increase at least 1 cycle to make sure
* the C0V has been updated into HW.
*/
if ((next & 0xffffffff) != readl(timer_base + TPM_C0V))
while (now == tpm_read_counter())
;
/*
* NOTE: We observed in a very small probability, the bus fabric
* contention between GPU and A7 may results a few cycles delay