iio: frequency: adf4350: fix an initialization
[deliverable/linux.git] / drivers / iio / frequency / adf4350.c
index 2d09f82d97524ec35612d9795b9304e2a81e574c..6ce45f5c0debd6db29c462ccb7bc56980b4994aa 100644 (file)
@@ -54,7 +54,7 @@ struct adf4350_state {
 static struct adf4350_platform_data default_pdata = {
        .clkin = 122880000,
        .channel_spacing = 10000,
-       .r2_user_settings = ADF4350_REG2_PD_POLARITY_POS,
+       .r2_user_settings = ADF4350_REG2_PD_POLARITY_POS |
                            ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500),
        .r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0),
        .r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) |
This page took 0.027079 seconds and 5 git commands to generate.