summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/da9055-hwmon.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-10-29 16:34:38 +0800
committerGuenter Roeck <linux@roeck-us.net>2012-12-05 10:55:55 -0800
commit44f751cee1b4baef9e3b49c6bd954f8b12b097a6 (patch)
treebb6a60eff574a9d698cdbe410bca8ca7a4e6b6e7 /drivers/hwmon/da9055-hwmon.c
parente597022353631194d93d142b6e14a9f673660de6 (diff)
downloadtalos-obmc-linux-44f751cee1b4baef9e3b49c6bd954f8b12b097a6.tar.gz
talos-obmc-linux-44f751cee1b4baef9e3b49c6bd954f8b12b097a6.zip
hwmon: (da9055) Fix chan_mux[DA9055_ADC_ADCIN3] setting
Set chan_mux[DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN3. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/da9055-hwmon.c')
-rw-r--r--drivers/hwmon/da9055-hwmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c
index d32edaea86d5..9465c050c326 100644
--- a/drivers/hwmon/da9055-hwmon.c
+++ b/drivers/hwmon/da9055-hwmon.c
@@ -54,7 +54,7 @@ static const u8 chan_mux[DA9055_ADC_TJUNC + 1] = {
[DA9055_ADC_VSYS] = DA9055_ADC_MUX_VSYS,
[DA9055_ADC_ADCIN1] = DA9055_ADC_MUX_ADCIN1,
[DA9055_ADC_ADCIN2] = DA9055_ADC_MUX_ADCIN2,
- [DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN1,
+ [DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN3,
[DA9055_ADC_TJUNC] = DA9055_ADC_MUX_T_SENSE,
};
OpenPOWER on IntegriCloud