]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (ltc4245) Read only one GPIO pin
authorIra W. Snyder <iws@ovro.caltech.edu>
Thu, 27 May 2010 17:59:02 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:37 +0000 (11:22 -0700)
commitf2ee4d37384b0813d0e59c17253d2caf9a3b467a
treeb537566d1472cff7b7e0397ba0dfc5b1930d93f8
parent68b99fb8e1e21209c9cad878e99947613e445777
hwmon: (ltc4245) Read only one GPIO pin

commit df16dd53c575d0cb9dbee20a3149927c862a9ff6 upstream.

Read only one of the GPIO pins as an analog voltage. The ADC can be
switched to a different GPIO pin at runtime, but this is not supported.

Previously, this driver would report the analog voltage of the currently
selected GPIO pin as all three GPIO voltages: in9_input, in10_input and
in11_input.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/hwmon/ltc4245
drivers/hwmon/ltc4245.c