MLK-19899 spi: lpspi: CLK pin becomes low when CR_RST=1
authorXiaoning Wang <xiaoning.wang@nxp.com>
Mon, 22 Oct 2018 03:01:18 +0000 (11:01 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit81ecfc64cf3a421cd6d1cc5e26f59c1748fb454a
tree456e98ad5234870fff0a8977d5885cbba1a94f95
parent0d23df40ef530d1ce91c3b2bc217120f11db4c14
MLK-19899 spi: lpspi: CLK pin becomes low when CR_RST=1

Remove Reset operation in fsl_lpspi_config(). This RST may cause both CLK and
CS pins go from high to low level under cs-gpio mode.
Add fsl_lpspi_reset() function after one message transfer to clear all
flags in use.

Signed-off-by: Xiaoning Wang <xiaoning.wang@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/spi/spi-fsl-lpspi.c