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)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:34 +0000 (09:00 +0100)
commit716bdb8953c7cad649a62e3333bf59cdd177db3b
treee6eda49d298cbf6f5e92ceff6616b4eebe10610f
parentcb26ce069ffa87a1d237d0288176aac8ff79bffa
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>
drivers/mmc/core/mmc_ops.c