From: Axel Lin Date: Mon, 29 Oct 2012 08:34:38 +0000 (+0800) Subject: hwmon: (da9055) Fix chan_mux[DA9055_ADC_ADCIN3] setting X-Git-Tag: firefly_0821_release~3680^2~1530^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44f751cee1b4baef9e3b49c6bd954f8b12b097a6;p=firefly-linux-kernel-4.4.55.git hwmon: (da9055) Fix chan_mux[DA9055_ADC_ADCIN3] setting Set chan_mux[DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN3. Signed-off-by: Axel Lin Signed-off-by: Guenter Roeck --- 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, };