spi: lantiq: fix: Rx overflow error in full duplex mode
authorDilip Kota <eswara.kota@linux.intel.com>
Fri, 17 Jul 2020 06:27:50 +0000 (14:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:30 +0000 (08:23 +0200)
commit9620833ec06f59f9759079530b3b0513a3d0419d
tree876ef50e61735efdeba62edd175a82824be3f0f8
parent3b72b5361f4ddca871a7ab660778d11a1361141d
spi: lantiq: fix: Rx overflow error in full duplex mode

[ Upstream commit 661ccf2b3f1360be50242726f7c26ced6a9e7d52 ]

In full duplex mode, rx overflow error is observed. To overcome the error,
wait until the complete data got received and proceed further.

Fixes: 17f84b793c01 ("spi: lantiq-ssc: add support for Lantiq SSC SPI controller")
Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com>
Link: https://lore.kernel.org/r/efb650b0faa49a00788c4e0ca8ef7196bdba851d.1594957019.git.eswara.kota@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-lantiq-ssc.c