commit | b3bec5f95f73520feb05b90244522f24546e96aa | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Thu Oct 27 21:26:46 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 28 19:39:24 2016 +0100 |
tree | 7f50cb1fdb84bf06d4d68d788747e6a46ebc0355 | |
parent | f895e27f591228704954cc8927d9c61b3f3da90f [diff] |
spi: fsl-espi: simplify and inline function fsl_espi_change_mode The ESPI spec mentions no requirement to turn off the ESPI unit prior to changing the mode. Most likely the ESPI unit is only turned off to clear the FIFO's as before this patch series single bytes could remain in the TX FIFO after transfer end. Therefore remove disabling / re-enabling the ESPI unit. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>