Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force ADMV8818 soft reset and SDO initialization
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. Signed-off-by: Sam Winchenbach <swinchenbach@arka.org>
- Loading branch information