diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2013-08-27 21:56:52 +0800 |
---|---|---|
committer | Zhangfei Gao <zhangfei.gao@linaro.org> | 2013-08-27 21:56:52 +0800 |
commit | b18729937c44a975fec08a1bde61514c15e0d011 (patch) | |
tree | ce278ad92d1cec911afe48594faac2c59387c173 | |
parent | e84be72e816fa03b02a2c1e8c582ad80d934d0d4 (diff) |
mmc: hisilicon: reset old_timing when suspendtracking-hilt-mmc-fix-0828tracking-hilt-mmc-fix
old_timing is set to 0 when suspend,
dw_mci_hs_tun will not take effect when resume back if not reset
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
-rw-r--r-- | drivers/mmc/host/dw_mmc-hisilicon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc-hisilicon.c b/drivers/mmc/host/dw_mmc-hisilicon.c index 382af29c6ecb..50ba8eb81f2b 100644 --- a/drivers/mmc/host/dw_mmc-hisilicon.c +++ b/drivers/mmc/host/dw_mmc-hisilicon.c @@ -348,10 +348,12 @@ static int dw_mci_hs_suspend(struct device *dev) { int ret; struct dw_mci *host = dev_get_drvdata(dev); + struct dw_mci_hs_priv_data *priv = host->priv; ret = dw_mci_suspend(host); if (ret) return ret; + priv->old_timing = -1; return 0; } |