mmc: dw_mmc: improve the timeout polling code
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 17 Feb 2017 02:56:39 +0000 (10:56 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:02 +0000 (21:41 +0200)
commitb6d2d81c5c2de6b3c69da3be9b2044dd008dbe45
tree2bfcb1087f11499e064dda9cd24ab831e82a7518
parent5a7ad1146caa895ad718a534399e38bd2ba721b7
mmc: dw_mmc: improve the timeout polling code

Just use the readl_poll_timeout{_atomic} to avold open
coding them.

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