]> 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)
commita2cdfefcc90c32a3be6133d8d2cd3c582e4ef1d0
treeaa07974dde26bddbdfbefc64e17fc537c8976037
parent6353e58430a0fe9b14f475e2d6ec7d6dacc04475
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