Skip to content
Commit 0792bca6 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

net: phy: lan87xx: Decrease phy polling rate

Polling at 100Hz for 1.5s consumes quite a bit of kworker time with no
obvious benefit. Reduce that polling rate to ~6Hz.

To further save CPU and power, defer the next poll if no energy is
detected.

See: https://github.com/raspberrypi/linux/issues/4780



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 9c08a31a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment