[lm-sensors] [PATCH] v3 of a adt7470 driver\
Darrick J. Wong
djwong at us.ibm.com
Thu Jul 26 02:57:00 CEST 2007
On Tue, Jul 24, 2007 at 08:56:51PM +0200, Hans de Goede wrote:
> Never mind about this I've already requested Mark to pick up the v3 patch +
> the 2 fixes.
> Jean, if you are reading this what do you think about this whole sleep for
> a sesond in device_update stuff and possible workarounds?
I could modify the driver to update the sensor values periodically with
a timer, though the msleep forces me to push the actual work of reading
the sensor values into a workqueue. This has the effect of making sysfs
reads nearly instantaneous though I don't know if sleeping for a second
in the system workqueue is agreeable. It might be useful to create a
separate workqueue for slow sensor chip reads.
Ugh, the patch is buggy, so I'll have to hack on it a little longer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the lm-sensors