]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel: Configure GPIO per CS instead of by controller
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 17 Oct 2019 14:18:42 +0000 (16:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:27:22 +0000 (18:27 +0100)
commit0fc70daf6f9a1d5eef8e58cd2bb87911c5950098
treeaa07974dde26bddbdfbefc64e17fc537c8976037
parent05c43b75b748eeebf9f262a0f1a585e6666ffde4
spi: atmel: Configure GPIO per CS instead of by controller

Instead of setting up the GPIO configuration for the whole controller,
do it at CS level. It will allow to mix internal CS and GPIO CS, which
is not possible with the current implementation.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20191017141846.7523-4-gregory.clement@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c