diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2018-11-11 13:01:11 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-11-13 09:33:32 -0800 |
commit | 35fdc3902179366489a12cae4cb3ccc3b95f0afe (patch) | |
tree | 01a6b28f8fcbdb3ff696c3174b15ce37e01793c3 /drivers/fpga/machxo2-spi.c | |
parent | 70df9ebbd82c794ddfbb49d45b337f18d5588dc2 (diff) |
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: 74d1e007915f ("hwmon: Add support for RPi voltage sensor")
Reported-by: "Noralf Trønnes" <noralf@tronnes.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions