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)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jul 2020 00:55:53 +0000 (01:55 +0100)
commit661ccf2b3f1360be50242726f7c26ced6a9e7d52
tree5ad5d033ce56cbb46371143cb055e3c686ae7449
parentf185bcc779808df5d31bc332b79b5f1455ee910b
spi: lantiq: fix: Rx overflow error in full duplex mode

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>
drivers/spi/spi-lantiq-ssc.c