UPSTREAM: mmc: mmc: fix switch timeout issue caused by jiffies precision
authorChaotian Jing <chaotian.jing@mediatek.com>
Thu, 19 May 2016 08:47:42 +0000 (16:47 +0800)
committerZiyuan Xu <xzy.xu@rock-chips.com>
Fri, 12 Aug 2016 01:32:35 +0000 (09:32 +0800)
commit6f3b9fbe7aaa56046335a331a95547ff09c2c3de
tree73a3cb08e99abc77357f8fa3be93e4a9d8723ef2
parent8a1eecaf86bbe3dc42043acac59473034ebc2e6a
UPSTREAM: mmc: mmc: fix switch timeout issue caused by jiffies precision

with CONFIG_HZ=100, the precision of jiffies is 10ms, and the
generic_cmd6_time of some card is also 10ms. then, may be current
time is only 5ms, but already timed out caused by jiffies precision.

(cherry picked from commit 987aa5f8059613bf85cbb6f64ffbd34f5cb7a9d1)

Change-Id: I43f1bc93e1100e86b138ec20a37612338a7153c6
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
drivers/mmc/core/mmc_ops.c