]> git.baikalelectronics.ru Git - kernel.git/commit
spi: sprd: Make sure offset not equal to slave address size
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Tue, 24 Aug 2021 07:02:11 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 24 Aug 2021 18:15:05 +0000 (19:15 +0100)
commite2dfb7b5627840362380b1a36de7be627066743a
treea411b2c10e24a2cfc18869e90d5000a6e2400ee9
parente580f674212c602673bcd6d7034a5452ada5648e
spi: sprd: Make sure offset not equal to slave address size

The slave register offset shouldn't equal to the max slave address
which ADI can support to access.

Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20210824070212.2089255-2-zhang.lyra@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c