Skip to content

Commit e86ee14

Browse files
Dan Carpentergregkh
authored andcommitted
iio: frequency: adf4350: fix an initialization
Sparse complains about this: drivers/iio/frequency/adf4350.c:58:29: warning: Initializer entry defined twice drivers/iio/frequency/adf4350.c:59:10: also defined here It looks like '|' was intended here instead of ','. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f9eb89e commit e86ee14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/iio/frequency/adf4350.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct adf4350_state {
5454
static struct adf4350_platform_data default_pdata = {
5555
.clkin = 122880000,
5656
.channel_spacing = 10000,
57-
.r2_user_settings = ADF4350_REG2_PD_POLARITY_POS,
57+
.r2_user_settings = ADF4350_REG2_PD_POLARITY_POS |
5858
ADF4350_REG2_CHARGE_PUMP_CURR_uA(2500),
5959
.r3_user_settings = ADF4350_REG3_12BIT_CLKDIV_MODE(0),
6060
.r4_user_settings = ADF4350_REG4_OUTPUT_PWR(3) |

0 commit comments

Comments
 (0)