Skip to content
Commit 769a3b8f authored by Stefan Wahren's avatar Stefan Wahren Committed by popcornmix
Browse files

hwmon: raspberrypi: Prevent voltage low warnings from filling log



Although the correct fix for low voltage warnings is to
improve the power supply, the current implementation
of the detection can fill the log if the warning
happens freqently. This replaces the logging with
slightly custom ratelimited logging.

Signed-off-by: default avatarJames Hughes <james.hughes@raspberrypi.org>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
parent 59e26916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment