2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/iio
Sam Winchenbach cc2c3540d9 iio: filter: admv8818: Force initialization of SDO
When a weak pull-up is present on the SDO line, regmap_update_bits fails
to write both the SOFTRESET and SDOACTIVE bits because it incorrectly
reads them as already set.

Since the soft reset disables the SDO line, performing a
read-modify-write operation on ADI_SPI_CONFIG_A to enable the SDO line
doesn't make sense. This change directly writes to the register instead
of using regmap_update_bits.

Fixes: f34fe888ad ("iio:filter:admv8818: add support for ADMV8818")
Signed-off-by: Sam Winchenbach <swinchenbach@arka.org>
Link: https://patch.msgid.link/SA1P110MB106904C961B0F3FAFFED74C0BCF5A@SA1P110MB1069.NAMP110.PROD.OUTLOOK.COM
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-02-08 12:46:32 +00:00
..
accel iio: accel: adxl345: complete the list of defines 2025-01-04 13:08:47 +00:00
adc iio: adc: ad7606: fix wrong scale available 2025-02-03 19:30:12 +00:00
addac module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
afe module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
amplifiers IIO: 1st set of fixes for the 6.12 cycle. 2024-10-13 17:23:47 +02:00
buffer iio: buffer-dmaengine: document iio_dmaengine_buffer_setup_ext 2024-12-07 17:47:58 +00:00
cdc iio: fix write_event_config signature 2024-11-03 20:33:44 +00:00
chemical IIO: 2nd set of fixes for the 6.13 cycle. 2025-01-16 13:46:08 +01:00
common iio: common: ssp_sensors: drop conditional optimization for simplicity 2024-12-28 14:28:13 +00:00
dac iio: dac: ad3552r: clear reset status flag 2025-02-03 19:30:11 +00:00
dummy iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer 2024-12-07 17:23:41 +00:00
filter iio: filter: admv8818: Force initialization of SDO 2025-02-08 12:46:32 +00:00
frequency Merge 6.12-rc4 into char-misc-next 2024-10-21 08:42:22 +02:00
gyro Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
health move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
humidity iio: humidity: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
imu Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
light iio: hid-sensor-prox: Split difference from multiple channels 2025-02-03 19:30:11 +00:00
magnetometer IIO: 1st set of new device support, features and cleanup for 6.14 2025-01-12 13:45:22 +01:00
multiplexer iio: iio-mux: kzalloc instead of devm_kzalloc to ensure page alignment 2025-01-04 14:48:17 +00:00
orientation module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
position module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
potentiometer iio: potentiometer: max5487: Drop ACPI_PTR() usage 2024-01-23 22:06:55 +00:00
potentiostat iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
pressure Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
proximity iio: proximity: Fix use-after-free in hx9023s_send_cfg() 2025-02-03 19:30:11 +00:00
resolver iio: resolver: ad2s1210: Use aligned_s64 instead of open coding alignment. 2024-12-28 14:28:15 +00:00
temperature Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
test iio: test: Fix GTS test config 2024-12-07 17:23:41 +00:00
trigger iio: trigger: stm32-timer: add support for stm32mp25 2024-12-28 14:28:14 +00:00
iio_core_trigger.h
iio_core.h iio: Add iio_read_channel_label to inkern API 2024-06-28 20:06:56 +01:00
industrialio-acpi.c iio: acpi: Add iio_get_acpi_device_name_and_data() helper function 2024-10-28 20:04:11 +00:00
industrialio-backend.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
industrialio-buffer.c iio: core: mark scan_timestamp as __private 2024-12-28 14:28:14 +00:00
industrialio-configfs.c
industrialio-core.c iio: Add channel type for attention 2024-11-03 20:33:43 +00:00
industrialio-event.c iio: event: use sizeof(*pointer) instead of sizeof(type) 2024-06-13 19:19:23 +01:00
industrialio-gts-helper.c iio: gts-helper: add helpers to ease searches of gain_sel and new_gain 2025-01-04 12:33:57 +00:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: allow devices to suspend/resume theirs associated trigger 2024-08-10 11:19:36 +01:00
industrialio-triggered-event.c
inkern.c Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
Kconfig iio: core: Add new DMABUF interface infrastructure 2024-06-30 11:29:17 +01:00
Makefile iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
TODO