]> 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)
commitb7d1bef7f9cf548f11caa45c01cf665f8ac2822f
treef5f8cb6202e439c74bdd5460fc8e619941109590
parentc49531375057921532df40d9b68e3f5fb652f0ae
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