diff options
author | Cosmin Tanislav <[email protected]> | 2022-01-12 22:00:36 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-01-23 18:23:48 +0000 |
commit | 0e33d15f1dce9e3a80a970ea7f0b27837168aeca (patch) | |
tree | c74ea696bd2ad15adbea05ef70fdbd6cef5f9c71 /lib/test-string_helpers.c | |
parent | b7a78a8adaa8849c02f174d707aead0f85dca0da (diff) |
iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
According to page 90 of the datasheet [1], AIN_BUFP is bit 6 and
AIN_BUFM is bit 5 of the CONFIG_0 -> CONFIG_7 registers.
Fix the mask used for setting these bits.
[1]: https://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Fixes: 0eaecea6e487 ("iio: adc: ad7124: Add buffered input support")
Signed-off-by: Cosmin Tanislav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions