diff options
author | Angelo Dureghello <angelo@sysam.it> | 2018-12-27 00:45:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 10:22:22 +0300 |
commit | f4cd3429db50061392a1d2ff19df2a597a4c0eac (patch) | |
tree | deaf89df57b6f5a2a29103e7ded4a7fd54d189f6 /drivers/md/dm-mpath.h | |
parent | 33b8d70cd3add1a4b69e08fc7e830a553f36ec50 (diff) | |
download | linux-f4cd3429db50061392a1d2ff19df2a597a4c0eac.tar.xz |
spi: fix initial SPI_SR value in spi-fsl-dspi
[ Upstream commit aa54c1c9d90e6db75190813907190fadcce1bf45 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/md/dm-mpath.h')
0 files changed, 0 insertions, 0 deletions