summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sh-msiof.c
diff options
context:
space:
mode:
authorHieu Tran Dang <dangtranhieu2012@gmail.com>2018-10-02 18:06:36 +0700
committerMark Brown <broonie@kernel.org>2018-10-10 12:41:36 +0100
commitde8978c388c66b8fca192213ec9f0727e964c652 (patch)
tree83a54d57de9f958ce8f01024a1dfb693f4d42c00 /drivers/spi/spi-sh-msiof.c
parenta1108c7b2efb892350ba6a0e932dfd45622f4e2b (diff)
spi: fsl-lpspi: Prevent FIFO under/overrun by default
Certain devices don't work well when a transmit FIFO underrun or receive FIFO overrun occurs. Example is the SAF400x radio chip when running at high speed which leads to garbage being sent to/received from the chip. In which case, it should stall waiting for further data to be available before proceeding. This patch unset the NOSTALL bit in CFGR1 by default to prevent this issue. Signed-off-by: Hieu Tran Dang <dangtranhieu2012@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
0 files changed, 0 insertions, 0 deletions