mmc: dw_mmc: improve dw_mci_reset a bit
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 17 Feb 2017 02:59:52 +0000 (10:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:06 +0000 (21:41 +0200)
commitbc2dcc1a2a5e3e796b71f742d6d241ba0523739b
tree35d6910c3235562cad4f1c417321034695e5bdb7
parent4dba18defb4c7bbea8af85913cd2dc506178389a
mmc: dw_mmc: improve dw_mci_reset a bit

Too much condition iteration makes the code
less readable. Slightly improve it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c