diff options
| author | 2026-02-27 14:43:05 +0200 | |
|---|---|---|
| committer | 2026-03-01 11:20:10 +0000 | |
| commit | bd66aa1c8b8cabf459064a46d3430a5ec5138418 (patch) | |
| tree | b80c484128c19469b3b17ba815479bb0c1d44aa1 /scripts/Makefile.thinlto | |
| parent | iio: adc: ade9000: move mutex init before IRQ registration (diff) | |
iio: accel: adxl380: fix FIFO watermark bit 8 always written as 0
FIELD_PREP(BIT(0), fifo_samples & BIT(8)) produces either 0 or 256,
and since FIELD_PREP masks to bit 0, 256 & 1 evaluates to 0. Use !!
to convert the result to a proper 0-or-1 value.
Fixes: df36de13677a ("iio: accel: add ADXL380 driver")
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
