Skip to content

Commit

Permalink
iio: adc: ad9361: Fix type for split_gain_table_abs_gain
Browse files Browse the repository at this point in the history
This needs to be signed since we handle signed values.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
  • Loading branch information
mhennerich committed Apr 26, 2022
1 parent c7dc7dd commit 86b17f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/adc/ad9361.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static const u8 split_gain_table[RXGAIN_TBLS_END][SIZE_SPLIT_TABLE][3] =
}};


static const u8 split_gain_table_abs_gain[RXGAIN_TBLS_END][SIZE_SPLIT_TABLE] =
static const s8 split_gain_table_abs_gain[RXGAIN_TBLS_END][SIZE_SPLIT_TABLE] =
{{ /* 800 MHz */
-1, -1, -1, -1, -1, -1, -1, 2,
8, 13, 19, 20, 21, 22, 23, 24,
Expand Down

0 comments on commit 86b17f4

Please sign in to comment.