PATCH: hwmon-abituguru-suspend-resume.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

This patch contains rudimentary suspend / resume support for the uguru,
this protects the uguru and the driver against suspend / resume cycles,
so there is no reason to unload the driver in your suspend / resume scripts.

I'm not sure if this is needed, does the sysfs code itself guarantee
that no sysfs attr read/write calls are in progress before starting a
resume, if it does then this patch most likely isn't needed. Except for
protecting against this, it also checks the uguru is still in ready
status after a resume, but that seems to be unnescesarry (as it seems
that the uguru always is still ready after the resume).

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>

Regards,

Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-abituguru-suspend-resume.patch
Type: text/x-patch
Size: 1394 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060810/24ab740f/attachment.bin 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux