diff options
-rw-r--r-- | drivers/mmc/host/mvsdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 9377284f8544..6b4c5ad3b393 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c | |||
@@ -79,11 +79,11 @@ static int mvsd_setup_data(struct mvsd_host *host, struct mmc_data *data) | |||
79 | unsigned long t = jiffies + HZ; | 79 | unsigned long t = jiffies + HZ; |
80 | unsigned int hw_state, count = 0; | 80 | unsigned int hw_state, count = 0; |
81 | do { | 81 | do { |
82 | hw_state = mvsd_read(MVSD_HW_STATE); | ||
82 | if (time_after(jiffies, t)) { | 83 | if (time_after(jiffies, t)) { |
83 | dev_warn(host->dev, "FIFO_EMPTY bit missing\n"); | 84 | dev_warn(host->dev, "FIFO_EMPTY bit missing\n"); |
84 | break; | 85 | break; |
85 | } | 86 | } |
86 | hw_state = mvsd_read(MVSD_HW_STATE); | ||
87 | count++; | 87 | count++; |
88 | } while (!(hw_state & (1 << 13))); | 88 | } while (!(hw_state & (1 << 13))); |
89 | dev_dbg(host->dev, "*** wait for FIFO_EMPTY bit " | 89 | dev_dbg(host->dev, "*** wait for FIFO_EMPTY bit " |