spi: stm32h7: rework rx fifo read function

Remove flush parameter and check RXWNE or RXPLVL when end of transfer
flag is set.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1625646426-5826-6-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Amelie Delaunay 2021-07-07 10:27:04 +02:00 • committed by Mark Brown
commit d87a5d64b5
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0