mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| accel | ||
| adc | ||
| addac | ||
| afe | ||
| amplifiers | ||
| buffer | ||
| cdc | ||
| chemical | ||
| common | ||
| dac | ||
| dummy | ||
| filter | ||
| frequency | ||
| gyro | ||
| health | ||
| humidity | ||
| imu | ||
| light | ||
| magnetometer | ||
| multiplexer | ||
| orientation | ||
| position | ||
| potentiometer | ||
| potentiostat | ||
| pressure | ||
| proximity | ||
| resolver | ||
| temperature | ||
| test | ||
| trigger | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||
| iio_core.h | ||
| iio_core_trigger.h | ||
| industrialio-acpi.c | ||
| industrialio-backend.c | ||
| industrialio-buffer.c | ||
| industrialio-configfs.c | ||
| industrialio-core.c | ||
| industrialio-event.c | ||
| industrialio-gts-helper.c | ||
| industrialio-sw-device.c | ||
| industrialio-sw-trigger.c | ||
| industrialio-trigger.c | ||
| industrialio-triggered-event.c | ||
| inkern.c | ||