mci: sdhci: provide sdhci_readx_poll_timeout helpers
The sdhci_readN accessors don't lend themselves for clean use with
readx_poll_timeout because they accept two arguments. Add
a sdhci-specific helper, so the sdhci drivers can cut down on the
timeout loop boilerplate.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bce7c84 commit ef7544a30304cf8cde50699b8bc2f40d10500bb1
@Ahmad Fatoum Ahmad Fatoum authored on 15 Apr 2020
Sascha Hauer committed on 27 Apr 2020
Showing 1 changed file
View
drivers/mci/sdhci.h