hwmon: (da9055) Fix chan_mux[DA9055_ADC_ADCIN3] setting
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Oct 2012 08:34:38 +0000 (16:34 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 5 Dec 2012 18:55:55 +0000 (10:55 -0800)
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>
drivers/hwmon/da9055-hwmon.c

index d32edaea86d5721f469794ea92dee10553d23709..9465c050c326c6dadf58ed06e210c4fabfccdca3 100644 (file)
@@ -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,
 };