commit | 20ff55655a93554611fb7790c8a2d29ee4598d24 | [log] [tgz] |
---|---|---|
author | Woojung Huh <woojung.huh@microchip.com> | Wed Mar 16 22:10:40 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 22:27:48 2016 -0400 |
tree | 4535bd2d62a2586853e2cab59e306896be43988e | |
parent | 7fa7728d23e7928dfb6e9f5540a97fb2d562b989 [diff] |
lan78xx: handle statistics counter rollover Update to handle statistics counter rollover. Check statistics counter periodically and compensate it when counter value rolls over at max (20 or 32bits). Simple mechanism adjusts monitoring timer to allow USB auto suspend. Signed-off-by: Woojung Huh <woojung.huh@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>