mci: imx-esdhc: Introduce esdhc_poll()
Replace all of the explcitly coded timeout loops with a shared subroutine that is used by both regular driver and PBL code. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/mci/imx-esdhc-common.c |
---|
drivers/mci/imx-esdhc-pbl.c |
---|
drivers/mci/imx-esdhc.c |
---|
drivers/mci/imx-esdhc.h |
---|