Commit 0825cce2 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Jonathan Cameron

iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register

Rename this definition, no functional changes.
Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent e462350a
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
#define AFE4404_AVG_LED2_ALED2VAL 0x3f #define AFE4404_AVG_LED2_ALED2VAL 0x3f
#define AFE4404_AVG_LED1_ALED1VAL 0x40 #define AFE4404_AVG_LED1_ALED1VAL 0x40
/* AFE4404 CONTROL3 register fields */ /* AFE4404 CONTROL2 register fields */
#define AFE440X_CONTROL3_OSC_ENABLE BIT(9) #define AFE440X_CONTROL2_OSC_ENABLE BIT(9)
enum afe4404_fields { enum afe4404_fields {
/* Gains */ /* Gains */
...@@ -398,7 +398,7 @@ static const struct reg_sequence afe4404_reg_sequences[] = { ...@@ -398,7 +398,7 @@ static const struct reg_sequence afe4404_reg_sequences[] = {
AFE4404_TIMING_PAIRS, AFE4404_TIMING_PAIRS,
{ AFE440X_CONTROL1, AFE440X_CONTROL1_TIMEREN }, { AFE440X_CONTROL1, AFE440X_CONTROL1_TIMEREN },
{ AFE4404_TIA_GAIN_SEP, AFE440X_TIAGAIN_ENSEPGAIN }, { AFE4404_TIA_GAIN_SEP, AFE440X_TIAGAIN_ENSEPGAIN },
{ AFE440X_CONTROL2, AFE440X_CONTROL3_OSC_ENABLE }, { AFE440X_CONTROL2, AFE440X_CONTROL2_OSC_ENABLE },
}; };
static const struct regmap_range afe4404_yes_ranges[] = { static const struct regmap_range afe4404_yes_ranges[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment