diff options
author | Angelo Dureghello <angelo@sysam.it> | 2018-12-26 22:45:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-07 18:12:24 +0000 |
commit | aa54c1c9d90e6db75190813907190fadcce1bf45 (patch) | |
tree | 266ca5b618c19d75c10e00d1198942cc8e3f081e /drivers/nvmem | |
parent | a15dc3d657fa2df08d1adbed926050314b5f4ba7 (diff) | |
download | linux-aa54c1c9d90e6db75190813907190fadcce1bf45.tar.bz2 |
spi: fix initial SPI_SR value in spi-fsl-dspi
On ColdFire mcf54418, using DSPI_DMA_MODE mode, spi transfers
at first boot stage are not succeding:
m25p80 spi0.1: unrecognized JEDEC id bytes: 00, 00, 00
The reason is the SPI_SR initial value set by the driver, that
is not clearing (not setting to 1) the RF_DF flag. After a tour
on the dspi hw modules that use this driver(Vybrid, ColdFire and
ls1021a) a better init value for SR register has been set.
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions