esdhc-xload: check for PRSSTAT_BREN only after each block
The BREN bit tells us a watermark level sized buffer is ready for read.
Instead of testing it before each FIFO read we must only check it once
and then read a watermark level sized buffer. This is at least necessary
on Layerscape, otherwise timeouts occur while reading the buffer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 48351ba commit 48562aeaa87ec08b961242f18cc37c12884b6382
@Sascha Hauer Sascha Hauer authored on 4 Mar 2019
Showing 1 changed file
View
drivers/mci/imx-esdhc-pbl.c