commit | 456c742be68eca1c8c55f4e0384f0418a55a31c5 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Nov 13 14:40:18 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 14 11:21:28 2016 +0000 |
tree | 210463b5ca8f4ca61780525c0ca5d24d953d4208 | |
parent | 219b5e3b239226c50ff6c4de6abf0534407df620 [diff] |
spi: fsl-espi: factor out fsl_espi_init_regs The register initialization is the same in fsl_espi_probe and in of_fsl_espi_resume. Therefore factor it out into fsl_espi_init_regs. It was actually a bug that CSMODE_BEF and CSMODE_AFT were not set in of_fsl_espi_resume. Seems like nobody ever used values other than zero for these parameters. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>