Re: [PATCH v2 13/13] net: ethernet: ti: cpts: fix overflow check period

2016-11-30 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:37PM -0600, Grygorii Strashko wrote: > The CPTS drivers uses 8sec period for overflow checking with > assumption that CPTS retclk will not exceed 500MHz. But that's not > true on some TI platforms (Kesytone 2). As result, it is possible that > CPTS counter will overflo

[PATCH v2 13/13] net: ethernet: ti: cpts: fix overflow check period

2016-11-28 Thread Grygorii Strashko
The CPTS drivers uses 8sec period for overflow checking with assumption that CPTS retclk will not exceed 500MHz. But that's not true on some TI platforms (Kesytone 2). As result, it is possible that CPTS counter will overflow more than once between two readings. Hence, fix it by selecting overflow