diff options
| author | David Lechner <[email protected]> | 2025-10-10 15:44:45 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-10-13 07:38:08 +0000 |
| commit | bd886cdcbf9e746f61c74035a3acd42e9108e115 (patch) | |
| tree | 91d6f74086674dbd196fe716bca183d4e89ae37b /scripts/basic/docproc.c | |
| parent | iio: buffer-dmaengine: enable .get_dma_dev() (diff) | |
| download | kernel-bd886cdcbf9e746f61c74035a3acd42e9108e115.tar.gz kernel-bd886cdcbf9e746f61c74035a3acd42e9108e115.zip | |
iio: adc: ad7280a: fix ad7280_store_balance_timer()
Use correct argument to iio_str_to_fixpoint() to parse 3 decimal places.
iio_str_to_fixpoint() has a bit of an unintuitive API where the
fract_mult parameter is the multiplier of the first decimal place as if
it was already an integer. So to get 3 decimal places, fract_mult must
be 100 rather than 1000.
Fixes: 96ccdbc07a74 ("staging:iio:adc:ad7280a: Standardize extended ABI naming")
Signed-off-by: David Lechner <[email protected]>
Reviewed-by: Nuno Sá <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
