]> git.baikalelectronics.ru Git - kernel.git/commit
spi: lpspi: use the core way to implement cs-gpio function
authorClark Wang <xiaoning.wang@nxp.com>
Wed, 6 Mar 2019 06:30:43 +0000 (06:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:17:30 +0000 (12:17 +0000)
commit2fc8fc8c5deed358949aea8988dc7526c40060a5
tree1b5192eddc5b38138d021aa05cc7da3ce867404d
parent8945d8be918d024df2398842d8a7228ca9a54482
spi: lpspi: use the core way to implement cs-gpio function

Use the default implementation of transfer_one_msg/chipselect/setup
functions in spi core to implement cs-gpio control.
Use fsl_lpspi_prepare_message to init the cs_gpio pin.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Fugang Duan <Fugang.duan@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c