]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "mfd: da9052-spi: Change read-mask to write-mask"
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Mon, 24 Nov 2025 16:16:51 +0000 (17:16 +0100)
committerLee Jones <lee@kernel.org>
Thu, 22 Jan 2026 14:22:11 +0000 (14:22 +0000)
commit12daa9c1954542bf98bb942fb2dadf19de79a44b
treee9bcfb047c4be54115350a0f4d30df03e3949b54
parent70ef762fa8ca126e8ff7dfdfa7a83df46e671de7
Revert "mfd: da9052-spi: Change read-mask to write-mask"

This reverts commit 2e3378f6c79a1b3f7855ded1ef306ea4406352ed.

Almost every register in this chip can be customized via OTP
memory. Somehow the value for R19, which decide if the flag is set
on read or write operation, seems to have been overwritten for the chip
the original patch were written for.

Revert the change to follow the default behavior.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://patch.msgid.link/20251124-da9052-revert-v1-1-fbeb2c894002@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/da9052-spi.c