Skip to content
Commit 35fdc390 authored by Stefan Wahren's avatar Stefan Wahren Committed by Guenter Roeck
Browse files

hwmon: (raspberrypi) Fix initial notify



In case an under-voltage happens before probing the driver wont
write the critical warning into the kernel log. So don't init
of last_throttled during probe and fix this issue.

Fixes: 74d1e007 ("hwmon: Add support for RPi voltage sensor")
Reported-by: default avatar"Noralf Trønnes" <noralf@tronnes.org>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 70df9ebb
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