From: Harald Judt <h.judt@gmx.at>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] w83627ehf: Wrong values reported after resuming from suspend/hibernation
Date: Thu, 01 Aug 2013 14:36:43 +0000 [thread overview]
Message-ID: <51FA727B.90904@gmx.at> (raw)
In-Reply-To: <50856051.5070803@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Am 01.08.2013 15:42, schrieb Guenter Roeck:
> On 08/01/2013 02:08 AM, Harald Judt wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Am 01.08.2013 00:11, schrieb Guenter Roeck:
>>> On Mon, Jul 29, 2013 at 05:27:35PM +0200, Harald Judt wrote: [
>>> ... ]
>>>>
>>>> -- `Experience is the best teacher.'
>>>>
>>>
>>>> From c3961cf2fa1d6975b9bcffeb746c57bda09e7489 Mon Sep 17
>>>> 00:00:00 2001 From: Harald Judt <h.judt@gmx.at> Date: Mon, 29
>>>> Jul 2013 17:00:27 +0200 Subject: hwmon: (nct6775) Add support
>>>> for hibernate
>>>>
>>> Hi Harald,
>>>
>>> Signed-off-by: is missing. Ok if I add your Signed-off to the
>>> patch ?
>>>
>>> Thanks, Guenter
>>
>> Sure, no problem, I didn't think about that. Also, even though
>> deprecated, probably a similar patch would be needed for the
>> original w83627ehf.c. I could create, test and send you another
>> such patch today in the evening or tomorrow. Otherwise,
>>
> Yes, that would be great.
>
>> Signed-off-by: Harald Judt <h.judt@gmx.at>
>>
> Thanks!
>
> Guenter
Attached you will find the two patches, tested and this time already
signed-off.
Harald
- --
`Experience is the best teacher.'
PGP Key ID: 0xBA3AC516
Fingerprint: 569E 0ADA 440A 8B11 D1A2 AB47 8238 0256 BA3A C516
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJR+nJ7AAoJEII4Ala6OsUWtq4H/Re5XomkMpB7HyGWUHMB4Lgg
tWf156At41eB6UUKKpM3wpmdAeTKEEVKheX6hEoAdnz1cHdPtw4XUSheKIS7KHjf
VOE1KWXipzLWBF4h3bM5hPS1NFeSyUE43UIZFYvYw97P3eoffyrt/PS5zIeUnYBm
d0D12it6b00heBOIfh11TofhsQLZfHBbcNBfMM43sez12J5yYOSfhZ9SCBssiViQ
ujEMv5vO5ig1Co1RucuMfsHwgX8ZsunlxW9djgXHHUtDI++nBmKk0Xnrd+n/u1d2
GAyKYCBo7FJyOxFqTNr5WfZOeqdXCeGblrVMM34T7Zm554vsUaIMJ96yr565U+w=
=Y3PD
-----END PGP SIGNATURE-----
[-- Attachment #2: 0001-hwmon-nct6775-Add-support-for-hibernate.patch --]
[-- Type: text/x-patch, Size: 770 bytes --]
From 67c57edfefeca37f8ec7a85a9f0eaeedea5d10a1 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
Date: Tue, 30 Jul 2013 19:50:16 +0200
Subject: hwmon: (nct6775) Add support for hibernate
Signed-off-by: Harald Judt <h.judt@gmx.at>
---
drivers/hwmon/nct6775.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c
index 99cec18..005cfd5 100644
--- a/drivers/hwmon/nct6775.c
+++ b/drivers/hwmon/nct6775.c
@@ -4056,6 +4056,8 @@ static int nct6775_resume(struct device *dev)
static const struct dev_pm_ops nct6775_dev_pm_ops = {
.suspend = nct6775_suspend,
.resume = nct6775_resume,
+ .freeze = nct6775_suspend,
+ .restore = nct6775_resume,
};
#define NCT6775_DEV_PM_OPS (&nct6775_dev_pm_ops)
--
1.8.3.2
[-- Attachment #3: 0002-hwmon-w83627ehf-Add-support-for-hibernate.patch --]
[-- Type: text/x-patch, Size: 797 bytes --]
From 0a13e05b3bd2a3b8943525555914aea64d941424 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
Date: Thu, 1 Aug 2013 16:18:45 +0200
Subject: hwmon: (w83627ehf) Add support for hibernate
Signed-off-by: Harald Judt <h.judt@gmx.at>
---
drivers/hwmon/w83627ehf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index 004801e..69e1ee1 100644
--- a/drivers/hwmon/w83627ehf.c
+++ b/drivers/hwmon/w83627ehf.c
@@ -2694,6 +2694,8 @@ static int w83627ehf_resume(struct device *dev)
static const struct dev_pm_ops w83627ehf_dev_pm_ops = {
.suspend = w83627ehf_suspend,
.resume = w83627ehf_resume,
+ .freeze = w83627ehf_suspend,
+ .restore = w83627ehf_resume,
};
#define W83627EHF_DEV_PM_OPS (&w83627ehf_dev_pm_ops)
--
1.8.3.2
[-- Attachment #4: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2013-08-01 14:36 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 15:03 [lm-sensors] w83627ehf: Wrong values reported after resuming from suspend/hibernation Harald Judt
2012-10-22 21:40 ` Guenter Roeck
2012-10-23 7:14 ` Jean Delvare
2012-10-23 9:57 ` Harald Judt
2012-10-23 11:45 ` Jean Delvare
2012-10-23 12:08 ` Harald Judt
2012-10-23 12:34 ` Jean Delvare
2012-10-23 14:01 ` Guenter Roeck
2012-10-23 16:32 ` Jean Delvare
2012-10-23 19:02 ` Harald Judt
2012-10-24 3:45 ` Guenter Roeck
2012-10-24 8:39 ` Jean Delvare
2012-10-24 18:05 ` Harald Judt
2012-10-24 18:14 ` Harald Judt
2012-10-24 19:23 ` Jean Delvare
2012-10-25 9:53 ` Guenter Roeck
2012-10-25 17:26 ` Harald Judt
2012-10-25 19:07 ` Jean Delvare
2012-10-25 19:16 ` Harald Judt
2012-10-25 20:37 ` Guenter Roeck
2012-10-25 23:49 ` Guenter Roeck
2012-10-26 0:41 ` Guenter Roeck
2012-10-26 0:55 ` Harald Judt
2012-10-26 7:27 ` Jean Delvare
2012-10-26 14:06 ` Guenter Roeck
2012-10-26 14:15 ` Jean Delvare
2013-07-28 20:43 ` Harald Judt
2013-07-28 21:43 ` Guenter Roeck
2013-07-28 22:28 ` Guenter Roeck
2013-07-29 2:24 ` Harald Judt
2013-07-29 2:47 ` Harald Judt
2013-07-29 6:58 ` Guenter Roeck
2013-07-29 9:12 ` Harald Judt
2013-07-29 15:27 ` Harald Judt
2013-07-29 22:46 ` Guenter Roeck
2013-07-31 22:11 ` Guenter Roeck
2013-08-01 9:08 ` Harald Judt
2013-08-01 13:42 ` Guenter Roeck
2013-08-01 14:36 ` Harald Judt [this message]
2013-08-01 17:46 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51FA727B.90904@gmx.at \
--to=h.judt@gmx.at \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.