diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2026-08-10 10:53:07 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-31 02:58:30 +0100 |
| commit | 64f4173ad1a7f1b247296c84e624f5095be170c7 (patch) | |
| tree | ed9d723af8144522eed67c8698390a651c3122a6 /scripts/Makefile.thinlto | |
| parent | c23bfe6e22104c463f37da3770e17ec72fc73f86 (diff) | |
| download | linux-next-64f4173ad1a7f1b247296c84e624f5095be170c7.tar.gz linux-next-64f4173ad1a7f1b247296c84e624f5095be170c7.zip | |
iio: pressure: rohm-bm1390: Fix AVE_NUM initialization
The BM1390 tries to initialize the AVE_NUM to 110b at the start-up. The
field location is not taken into account, and value is written unsifted.
This causes the AVE_NUM to be initialized to zero.
Use FIELD_PREP() to shift the intended AVE_NUM value to correct field.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
