diff --git a/drivers/iio/adc/ad9361.c b/drivers/iio/adc/ad9361.c index 91f16667502435..c20de567f312cf 100644 --- a/drivers/iio/adc/ad9361.c +++ b/drivers/iio/adc/ad9361.c @@ -4646,9 +4646,9 @@ static int ad9361_fastlock_prepare(struct ad9361_rf_phy *phy, bool tx, /* Workaround: Exiting Fastlock Mode */ ad9361_spi_writef(phy->spi, REG_RX_FORCE_ALC + offs, FORCE_ALC_ENABLE, 1); - ad9361_spi_writef(phy->spi, REG_RX_FORCE_VCO_TUNE_1 + offs, FORCE_VCO_TUNE, 1); + ad9361_spi_writef(phy->spi, REG_RX_FORCE_VCO_TUNE_1 + offs, FORCE_VCO_TUNE_ENABLE, 1); ad9361_spi_writef(phy->spi, REG_RX_FORCE_ALC + offs, FORCE_ALC_ENABLE, 0); - ad9361_spi_writef(phy->spi, REG_RX_FORCE_VCO_TUNE_1 + offs, FORCE_VCO_TUNE, 0); + ad9361_spi_writef(phy->spi, REG_RX_FORCE_VCO_TUNE_1 + offs, FORCE_VCO_TUNE_ENABLE, 0); ad9361_trx_vco_cal_control(phy, tx, true); ad9361_spi_writef(phy->spi, REG_ENSM_CONFIG_2, ready_mask, 0);