* [lm-sensors] PATCH: f71882g: check for hwmon powerdown state [2/4]
@ 2008-12-14 14:35 Hans de Goede
2008-12-15 7:53 ` [lm-sensors] PATCH: f71882g: check for hwmon powerdown state Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2008-12-14 14:35 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
Hi Jean,
More f8000 prep work. Take over the checking if the hwmon part is not
powered down from the standalone f8000 driver.
This check is valid for all supported models.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Thanks & Regards,
Hans
[-- Attachment #2: hwmon-f71882fg-10-check-for-powerdown.patch --]
[-- Type: text/plain, Size: 727 bytes --]
More f8000 prep work. Take over the checking if the hwmon part is not
powered down from the standalone f8000 driver.
This check is valid for all supported models.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
--- linux/drivers/hwmon/f71882fg.c.09-applied 2008-12-14 15:23:07.000000000 +0100
+++ linux/drivers/hwmon/f71882fg.c 2008-12-14 15:23:46.000000000 +0100
@@ -1500,6 +1500,11 @@
platform_set_drvdata(pdev, data);
start_reg = f71882fg_read8(data, F71882FG_REG_START);
+ if (start_reg & 0x04) {
+ dev_warn(&pdev->dev, "Hardware monitor is powered down\n");
+ err = -ENODEV;
+ goto exit_free;
+ }
if (!(start_reg & 0x03)) {
dev_warn(&pdev->dev, "Hardware monitoring not activated\n");
err = -ENODEV;
[-- Attachment #3: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [lm-sensors] PATCH: f71882g: check for hwmon powerdown state
2008-12-14 14:35 [lm-sensors] PATCH: f71882g: check for hwmon powerdown state [2/4] Hans de Goede
@ 2008-12-15 7:53 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2008-12-15 7:53 UTC (permalink / raw)
To: lm-sensors
On Sun, 14 Dec 2008 15:35:14 +0100, Hans de Goede wrote:
> Hi Jean,
>
> More f8000 prep work. Take over the checking if the hwmon part is not
> powered down from the standalone f8000 driver.
>
> This check is valid for all supported models.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied, thanks.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-15 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-14 14:35 [lm-sensors] PATCH: f71882g: check for hwmon powerdown state [2/4] Hans de Goede
2008-12-15 7:53 ` [lm-sensors] PATCH: f71882g: check for hwmon powerdown state Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.