]> bbs.cooldavid.org Git - net-next-2.6.git/commit
hwmon: (lm90) Use programmed update rate
authorIra W. Snyder <iws@ovro.caltech.edu>
Thu, 27 May 2010 17:58:44 +0000 (19:58 +0200)
committerJean Delvare <khali@linux-fr.org>
Thu, 27 May 2010 17:58:44 +0000 (19:58 +0200)
commit8c3c7a256f7ab142dfbcee2d8633dbce5a36fde7
treec0ced573d7e4b9ccfa01b1de0593b4777bc25cf4
parent729d273aa7c86eb1406ade4eadf249cff188bf9a
hwmon: (lm90) Use programmed update rate

The lm90 driver programs the sensor chip to update its readings at 2 Hz
(500 ms between readings). However, the driver only does reads from the
chip at intervals of 2 * HZ (2000 ms between readings). Change the driver
update rate to the programmed update rate.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm90.c