]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel: Improve CS0 case support on AT91RM9200
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 17 Oct 2019 14:18:46 +0000 (16:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:34:23 +0000 (18:34 +0100)
commit271252967c3b274a9451b2d6df97327afb93c70b
treef5f8cb6202e439c74bdd5460fc8e619941109590
parentff04d85b22466e65065079835c0beb6a61ecf18a
spi: atmel: Improve CS0 case support on AT91RM9200

Thanks to the recent change in this driver, it is now possible to
prevent using the CS0 with GPIO during setup. It then allows to remove
the special handling of this case in the cs_activate() and
cs_deactivate() functions.

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