mci: imx-esdhc: Do not reset twice
The esdhc controller is resetted once during probe by calling
esdhc_reset() and once open coded in esdhc_init(). Resetting it once is
enough, so drop the open coded reset from esdhc_init() and call
esdhc_reset() there. With this we can remove the call to esdhc_reset()
during probe.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e148310 commit 1ebee1e97ad43b4419e42d778d82059933405668
@Sascha Hauer Sascha Hauer authored on 30 Jan 2019
Showing 1 changed file
View
drivers/mci/imx-esdhc.c