]> git.kernelconcepts.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:10:56 +0000 (11:10 -0700)
commit13778d03ee925ff88a5809973e0d41f1efa954ff
tree597bfd6b5957b73edb6f3e58db6ee0ca1fb0fc20
parent5f375bcd1f8622545651766f7cfd267aa461d353
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