projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e597022
)
hwmon: (da9055) Fix chan_mux[DA9055_ADC_ADCIN3] setting
author
Axel Lin
<axel.lin@ingics.com>
Mon, 29 Oct 2012 08:34:38 +0000
(16:34 +0800)
committer
Guenter 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
patch
|
blob
|
history
diff --git
a/drivers/hwmon/da9055-hwmon.c
b/drivers/hwmon/da9055-hwmon.c
index d32edaea86d5721f469794ea92dee10553d23709..9465c050c326c6dadf58ed06e210c4fabfccdca3 100644
(file)
--- 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_ADCIN
1
,
+ [DA9055_ADC_ADCIN3] = DA9055_ADC_MUX_ADCIN
3
,
[DA9055_ADC_TJUNC] = DA9055_ADC_MUX_T_SENSE,
};