]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-mem: fallback to using transfers when CS gpios are used
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 7 Nov 2019 04:42:35 +0000 (17:42 +1300)
committerMark Brown <broonie@kernel.org>
Thu, 7 Nov 2019 13:11:18 +0000 (13:11 +0000)
commit584e038a2784e27e7b0dc409f7570d89eae72534
tree4a13becaf069e37f8241de308126980d5a1c7068
parent32554a929e1c7620765e16f39541f56cb79dfd15
spi: spi-mem: fallback to using transfers when CS gpios are used

Devices with chip selects driven via GPIO are not compatible with the
spi-mem operations. Fallback to using standard spi transfers when the
device is connected with a gpio CS.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20191107044235.4864-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mem.c