mmc: core: Factor out code related to polling in __mmc_switch()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Oct 2016 11:20:49 +0000 (13:20 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:49 +0000 (15:36 -0500)
commit79e39050c4307526e53de71f8bdff1f9616554f5
tree7c4f278e09c254ce89496283f4d1d8b80f075beb
parent755d6997f5778d4a22ac04d828f1d2979f6ea75f
mmc: core: Factor out code related to polling in __mmc_switch()

In yet another step of cleaning up __mmc_switch(), let's factor out the
code that deals with card busy polling.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
(cherry picked from commit 716bdb8953c7cad649a62e3333bf59cdd177db3b)
drivers/mmc/core/mmc_ops.c