linux/drivers/iio/frequency
SeungJu Cheon 6c8bf4b604 iio: frequency: adf4377: Fix duplicated soft reset mask
The regmap_read_poll_timeout() uses ADF4377_0000_SOFT_RESET_R_MSK
twice instead of checking both SOFT_RESET_MSK (bit 0) and
SOFT_RESET_R_MSK (bit 7). This causes an incomplete reset status check.

The code first sets both SOFT_RESET and SOFT_RESET_R bits to 1 via
regmap_update_bits(), then polls for them to be cleared. Since we set
both bits before polling, we should be waiting for both to clear.

Fix by using both masks as done in regmap_update_bits() above.

Fixes: eda549e2e5 ("iio: frequency: adf4377: add support for ADF4377")
Signed-off-by: SeungJu Cheon <suunj1331@gmail.com>
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2026-02-23 08:24:37 +00:00
..
ad9523.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4350.c IIO: New device support, features and cleanup for 6.18 2025-09-23 14:15:25 +02:00
adf4371.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adf4377.c iio: frequency: adf4377: Fix duplicated soft reset mask 2026-02-23 08:24:37 +00:00
admfm2000.c iio: frequency: admfm2000: Use device_for_each_child_node_scoped() to simplify error paths. 2024-04-06 11:29:06 +01:00
admv1013.c iio: admv1013: replace redundant ternary operator with just len 2025-05-21 14:21:34 +01:00
admv1014.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
admv4420.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adrf6780.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
Kconfig iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig 2024-10-10 19:27:25 +01:00
Makefile iio: frequency: admfm2000: New driver 2024-02-17 16:16:10 +00:00