RE: [PATCH V3 2/2] timer: imx-tpm: add imx tpm timer support
From: Thomas Gleixner
Date: Tue Jul 04 2017 - 11:37:12 EST
On Tue, 4 Jul 2017, A.s. Dong wrote:
> + /*
> + * NOTE: We observed in a very small probability, the bus fabric
> + * contention between GPU and A7 may results a few cycles delay
> + * of writing CNT registers which may cause the min_delta event got
> + * missed, so we need add a ETIME check here in case it happened.
> + */
> return (int)((next - now) <= 0) ? -ETIME : 0;
> Do you think it's ok?
Looks about right.