Hi Seungwon Jeon

I see a small issue with the implementation mmc_suspend_host,

int mmc_suspend_host(struct mmc_host *host)
{
.....
        err = mmc_cache_ctrl(host, 0);
}

So, within mmc_suspend_host we are disabling the cache. But I do not
see a corresponding enabling of cache within mmc_resume_host. I
suggest we have either enabling of cache within mmc_resume_host or
within mmc_suspend_host, we replace mmc_cache_ctrl(host, 0) with the
flush operation, mmc_flush_cache(host->card).



Regards
Saugata
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to