File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ struct meson_sar_adc_param {
327
327
u8 vref_select ;
328
328
u8 cmv_select ;
329
329
u8 adc_eoc ;
330
- enum meson_sar_adc_vref_sel vref_volatge ;
330
+ enum meson_sar_adc_vref_sel vref_voltage ;
331
331
};
332
332
333
333
struct meson_sar_adc_data {
@@ -989,7 +989,7 @@ static int meson_sar_adc_init(struct iio_dev *indio_dev)
989
989
}
990
990
991
991
regval = FIELD_PREP (MESON_SAR_ADC_REG11_VREF_VOLTAGE ,
992
- priv -> param -> vref_volatge );
992
+ priv -> param -> vref_voltage );
993
993
regmap_update_bits (priv -> regmap , MESON_SAR_ADC_REG11 ,
994
994
MESON_SAR_ADC_REG11_VREF_VOLTAGE , regval );
995
995
@@ -1212,7 +1212,7 @@ static const struct meson_sar_adc_param meson_sar_adc_gxbb_param = {
1212
1212
.regmap_config = & meson_sar_adc_regmap_config_gxbb ,
1213
1213
.resolution = 10 ,
1214
1214
.has_reg11 = true,
1215
- .vref_volatge = 1 ,
1215
+ .vref_voltage = 1 ,
1216
1216
.cmv_select = 1 ,
1217
1217
};
1218
1218
@@ -1224,7 +1224,7 @@ static const struct meson_sar_adc_param meson_sar_adc_gxl_param = {
1224
1224
.resolution = 12 ,
1225
1225
.disable_ring_counter = 1 ,
1226
1226
.has_reg11 = true,
1227
- .vref_volatge = 1 ,
1227
+ .vref_voltage = 1 ,
1228
1228
.cmv_select = 1 ,
1229
1229
};
1230
1230
@@ -1236,7 +1236,7 @@ static const struct meson_sar_adc_param meson_sar_adc_axg_param = {
1236
1236
.resolution = 12 ,
1237
1237
.disable_ring_counter = 1 ,
1238
1238
.has_reg11 = true,
1239
- .vref_volatge = 1 ,
1239
+ .vref_voltage = 1 ,
1240
1240
.has_vref_select = true,
1241
1241
.vref_select = VREF_VDDA ,
1242
1242
.cmv_select = 1 ,
You can’t perform that action at this time.
0 commit comments