Skip to content

Commit 65233d0

Browse files
xdarklightjic23
authored andcommitted
iio: adc: meson: fix voltage reference selection field name typo
The field should be called "vref_voltage", without a typo in the word voltage. No functional changes intended. Signed-off-by: Martin Blumenstingl <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent ec2253b commit 65233d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/iio/adc/meson_saradc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ struct meson_sar_adc_param {
327327
u8 vref_select;
328328
u8 cmv_select;
329329
u8 adc_eoc;
330-
enum meson_sar_adc_vref_sel vref_volatge;
330+
enum meson_sar_adc_vref_sel vref_voltage;
331331
};
332332

333333
struct meson_sar_adc_data {
@@ -989,7 +989,7 @@ static int meson_sar_adc_init(struct iio_dev *indio_dev)
989989
}
990990

991991
regval = FIELD_PREP(MESON_SAR_ADC_REG11_VREF_VOLTAGE,
992-
priv->param->vref_volatge);
992+
priv->param->vref_voltage);
993993
regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG11,
994994
MESON_SAR_ADC_REG11_VREF_VOLTAGE, regval);
995995

@@ -1212,7 +1212,7 @@ static const struct meson_sar_adc_param meson_sar_adc_gxbb_param = {
12121212
.regmap_config = &meson_sar_adc_regmap_config_gxbb,
12131213
.resolution = 10,
12141214
.has_reg11 = true,
1215-
.vref_volatge = 1,
1215+
.vref_voltage = 1,
12161216
.cmv_select = 1,
12171217
};
12181218

@@ -1224,7 +1224,7 @@ static const struct meson_sar_adc_param meson_sar_adc_gxl_param = {
12241224
.resolution = 12,
12251225
.disable_ring_counter = 1,
12261226
.has_reg11 = true,
1227-
.vref_volatge = 1,
1227+
.vref_voltage = 1,
12281228
.cmv_select = 1,
12291229
};
12301230

@@ -1236,7 +1236,7 @@ static const struct meson_sar_adc_param meson_sar_adc_axg_param = {
12361236
.resolution = 12,
12371237
.disable_ring_counter = 1,
12381238
.has_reg11 = true,
1239-
.vref_volatge = 1,
1239+
.vref_voltage = 1,
12401240
.has_vref_select = true,
12411241
.vref_select = VREF_VDDA,
12421242
.cmv_select = 1,

0 commit comments

Comments
 (0)